DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41579>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41579





------- Additional Comments From [EMAIL PROTECTED]  2007-02-12 10:01 -------
Cruisecontrol also ignores the CLASSPATH. The standard Cruisecontrol also
expects a complete ant to be installed, installed in anthome (so that
${anthome}/lib contains ant-launcher.jar)
something like
<ant anthome="x:\apache-ant-1.7.0" 
buildfile="projects/${project.name}/build.xml"/>
or even
<ant anthome="x:\" buildfile="projects/${project.name}/build.xml"/>


So I still have no clue why ant (or cruisecontrol for that matter) would have to
be on the CLASSPATH.

In order to shorten the CLASSPATH you could repack all ant-*.jar, except for
ant-launcher.jar of ant into a single jar file ant-optional.jar.

Placing ant-launcher in the root directory might work if the system property
ant.home is set correctly, and all jar files of ant are available under
${ant.home}/lib, some other files of ant should be available in ${ant.home}/etc
and ${ant.home}/bin. Please note that this is not and most probably will not be
supported.

As said before a complete ant installation should live in the root just fine,
but a complete ant installation has ant-launcher.jar in the lib directory, and
therefore never in the root.

B.t.w. you report this as a bug to 1.7.0, yet the launcher you use seems to be
from another ant version (as can be deduced from the line numbers displayed in
the stack trace.) Mixing ant versions is known to cause troubles and is not
supported either.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to