Hello
I had
building problems which were solved when I upgraded to the newest release
version of Ant (1.4.1).
cheers
--
Gordon
Mickel
Arpanet AG
-----Original Message-----
From: Bardet Emmanuel-ebardet1 [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 23. Oktober 2001 17:28
To: '[EMAIL PROTECTED]'
Subject: Building probs.Hi all,I looked through the archive of this mailing list but could not find my fix.I cannot build Cocoon 2, following is what I get. Could you please guide me ?C:\Java\Cocoon2.0rc1a>.\build.bat -Dinclude.webapp.libs=yes webapp -verbose
Ant version 1.3 compiled on March 2 2001Buildfile: build.xml
Detected Java Version: 1.3
Detected OS: Windows 2000
parsing buildfile C:\Java\Cocoon2.0rc1a\build.xml with URI = file:C:/Java/Cocoon
2.0rc1a/build.xml
Project base dir set to: C:\Java\Cocoon2.0rc1a
[property] Loading C:\Java\Cocoon2.0rc1a\.ant.properties
[property] Unable to find C:\Java\Cocoon2.0rc1a\.ant.properties
[property] Loading D:\Profiles\ebardet1\.ant.properties
[property] Unable to find D:\Profiles\ebardet1\.ant.properties
Build sequence for target `webapp' is [init, prepare, generate-java-code-check,
generate-java-code, prepare-src-main, prepare-src-22-maybeupload, prepare-src-23
-maybeupload, prepare-src-23, prepare-src-22, prepare-src, compile, copy-webapp,
prepare-webapp-php, prepare-webapp-xt, prepare-webapp-fop, prepare-webapp-tidy,
prepare-webapp-naming, prepare-webapp, package, prepare-tools-lib, prepare-weba
pp-libs, prepare-xsp, webapp]
Complete build sequence is [init, prepare, generate-java-code-check, generate-ja
va-code, prepare-src-main, prepare-src-22-maybeupload, prepare-src-23-maybeuploa
d, prepare-src-23, prepare-src-22, prepare-src, compile, copy-webapp, prepare-we
bapp-php, prepare-webapp-xt, prepare-webapp-fop, prepare-webapp-tidy, prepare-we
bapp-naming, prepare-webapp, package, prepare-tools-lib, prepare-webapp-libs, pr
epare-xsp, webapp, prepare-docs, site_check, site_done, site, docs_done, docs_ch
eck, docs, javadocs_check, javadocs_done, javadocs, dist, printer-docs_check, an
nouncement, printer-docs_done, printer-docs, remove-webapp, install, dist-zip, c
lean, distclean, dist-tgz, webapp-local]init:
[echo] ------------------- Apache Cocoon 2.0rc1 [1999-2001] ---------------
-
Property ${install.war} has not been set
[property] Loading C:\Java\Cocoon2.0rc1a\database.properties
[available] Unable to load class net.php.servlet to set property php.present
[available] Unable to load class javax.servlet.http.HttpServletRequestWrapper to
set property servlet23.present
[available] Unable to load class useless.javax.naming.Context to set property na
ming.present
[available] Unable to load class weblogic.servlet.internal.ServletContextImpl to
set property weblogic.presentprepare:generate-java-code-check:generate-java-code:
[style] Transforming into C:\Java\Cocoon2.0rc1a\build\cocoon\src\org\apache\
cocoon\components\browserBUILD FAILEDC:\Java\Cocoon2.0rc1a\build.xml:378: java.lang.SecurityException: sealing violat
ion
--- Nested Exception ---
java.lang.SecurityException: sealing violation
at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory
.java:117)
at org.apache.tools.ant.taskdefs.optional.TraXLiaison.<init>(TraXLiaison
.java:93)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at org.apache.tools.ant.taskdefs.XSLTProcess.setProcessor(XSLTProcess.ja
va:231)
at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:13
7)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)Total time: 3 seconds
C:\Java\Cocoon2.0rc1a>Thanks very much for any help you may provide.Emmanuel.