Created
December 6, 2010 19:11
-
-
Save anonymous/730755 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[joakim@localhost download-applet]$ appletviewer index.html | |
appletviewer index.html | |
java.lang.ExceptionInInitializerError | |
at clojure.lang.Namespace.<init>(Namespace.java:34) | |
at clojure.lang.Namespace.findOrCreate(Namespace.java:176) | |
at clojure.lang.Var.internPrivate(Var.java:94) | |
at flib.downloadapplet.<clinit>(Unknown Source) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:532) | |
at java.lang.Class.newInstance0(Class.java:372) | |
at java.lang.Class.newInstance(Class.java:325) | |
at sun.applet.AppletPanel.createApplet(AppletPanel.java:798) | |
at sun.applet.AppletPanel.runLoader(AppletPanel.java:727) | |
at sun.applet.AppletPanel.run(AppletPanel.java:380) | |
at java.lang.Thread.run(Thread.java:636) | |
Caused by: java.lang.RuntimeException: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader) | |
at clojure.lang.RT.<clinit>(RT.java:305) | |
... 14 more | |
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader) | |
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:342) | |
at java.security.AccessController.checkPermission(AccessController.java:553) | |
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) | |
at java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:611) | |
at java.lang.ClassLoader.checkCreateClassLoader(ClassLoader.java:194) | |
at java.lang.ClassLoader.<init>(ClassLoader.java:224) | |
at java.security.SecureClassLoader.<init>(SecureClassLoader.java:71) | |
at java.net.URLClassLoader.<init>(URLClassLoader.java:99) | |
at clojure.lang.DynamicClassLoader.<init>(DynamicClassLoader.java:40) | |
at clojure.lang.RT$4.run(RT.java:1547) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at clojure.lang.RT.makeClassLoader(RT.java:1542) | |
at clojure.lang.Compiler.load(Compiler.java:5838) | |
at clojure.lang.RT.loadResourceScript(RT.java:340) | |
at clojure.lang.RT.loadResourceScript(RT.java:331) | |
at clojure.lang.RT.load(RT.java:409) | |
at clojure.lang.RT.load(RT.java:381) | |
at clojure.lang.RT.doInit(RT.java:416) | |
at clojure.lang.RT.<clinit>(RT.java:302) | |
... 14 more |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>flib</groupId> | |
<artifactId>download-applet</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>download-applet</name> | |
<url>http://maven.apache.org</url> | |
<repositories> | |
<repository> | |
<id>clojure-releases</id> | |
<url>http://build.clojure.org/releases</url> | |
</repository> | |
<repository> | |
<id>clojars</id> | |
<url>http://clojars.org/repo/</url> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> | |
<groupId>org.clojure</groupId> | |
<artifactId>clojure</artifactId> | |
<version>1.2.0</version> | |
</dependency> | |
<!-- <dependency> --> | |
<!-- <groupId>org.clojure</groupId> --> | |
<!-- <artifactId>clojure-contrib</artifactId> --> | |
<!-- <version>1.2.0</version> --> | |
<!-- </dependency> --> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>com.theoryinpractise</groupId> | |
<artifactId>clojure-maven-plugin</artifactId> | |
<version>1.3.6</version> | |
<executions> | |
<execution> | |
<id>compile</id> | |
<phase>compile</phase> | |
<goals> | |
<goal>compile</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>test</id> | |
<phase>test</phase> | |
<goals> | |
<goal>test</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<!-- <version>1.3-SNAPSHOT</version> --> | |
<!-- put your configurations here --> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<artifactSet> | |
<excludes> | |
</excludes> | |
</artifactSet> | |
<transformers> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer"/> | |
</transformers> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-jar-plugin</artifactId> | |
<configuration> | |
<alias>flib-applet</alias> | |
<keystore>${project.build.directory}/../flib.keystore</keystore> | |
<keypass>${pwd}</keypass> | |
<storepass>${pwd}</storepass> | |
<jarPath>${project.build.directory}/${project.build.finalName}.${project.packaging}</jarPath> | |
</configuration> | |
<executions> | |
<execution> | |
<id>make-sign</id> | |
<phase>package</phase> | |
<goals> | |
<goal>sign</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<!-- <resources> --> | |
<!-- <resource> --> | |
<!-- <directory>src/main/clojure</directory> --> | |
<!-- </resource> --> | |
<!-- </resources> --> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment