Francesco Chicchiriccò (JIRA)
2013-01-20 16:14:12 UTC
[ https://issues.apache.org/jira/browse/COCOON-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558294#comment-13558294 ]
Francesco Chicchiriccò commented on COCOON-2330:
------------------------------------------------
Just checked out from SVN and issued './build.sh dist'. This ends with the dist directory populated with:
* cocoon-2.1.12-dev-deps.tar.gz
* cocoon-2.1.12-dev-deps.zip
* cocoon-2.1.12-dev-src.tar.gz
* cocoon-2.1.12-dev-src.zip
That's fine.
About -src:
* I agree with David, the legal/ subdir should move to -deps
* besides this legal subdir, I think the rest of the package is just fine (even though the dir name seems misleading, even the tools/bin directory only contains text scripts)
* ./build.sh gives
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit.
My opinion is then that if we move legal/ from -src to -deps and fix the build.sh / build.bat so that they run only with all -deps at their own place, we can close this issue.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Francesco Chicchiriccò commented on COCOON-2330:
------------------------------------------------
Just checked out from SVN and issued './build.sh dist'. This ends with the dist directory populated with:
* cocoon-2.1.12-dev-deps.tar.gz
* cocoon-2.1.12-dev-deps.zip
* cocoon-2.1.12-dev-src.tar.gz
* cocoon-2.1.12-dev-src.zip
That's fine.
About -src:
* I agree with David, the legal/ subdir should move to -deps
* besides this legal subdir, I think the rest of the package is just fine (even though the dir name seems misleading, even the tools/bin directory only contains text scripts)
* ./build.sh gives
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit.
My opinion is then that if we move legal/ from -src to -deps and fix the build.sh / build.bat so that they run only with all -deps at their own place, we can close this issue.
Release separate source and dependencies packages
-------------------------------------------------
Key: COCOON-2330
URL: https://issues.apache.org/jira/browse/COCOON-2330
Project: Cocoon
Issue Type: Improvement
Components: - Build System: Ant
Affects Versions: 2.1.11
Reporter: Francesco Chicchiriccò
Fix For: 2.1.12
As recently reported by David Corssley [1] the 2.1.X release must comply with ASF policies about releases, in particular providing a separate source code package (without any external JAR file inside) and dependencies package (with all external JAR files) for distribution.
[1] http://markmail.org/message/f6rm2ca35eiraf7i
---------------------------------------------------
Key: COCOON-2330
URL: https://issues.apache.org/jira/browse/COCOON-2330
Project: Cocoon
Issue Type: Improvement
Components: - Build System: Ant
Affects Versions: 2.1.11
Reporter: Francesco Chicchiriccò
Fix For: 2.1.12
As recently reported by David Corssley [1] the 2.1.X release must comply with ASF policies about releases, in particular providing a separate source code package (without any external JAR file inside) and dependencies package (with all external JAR files) for distribution.
[1] http://markmail.org/message/f6rm2ca35eiraf7i
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira