Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>
Make Path use getCanonicalPath throughout.
Submitted by: Vincent Bergbauer <vincent_bergbauer@yahoo.com>
Remove deprecation warnings in SignJar
Submitted by: KC Baltz <KBaltz@responsenetworks.com>
Give user a clue if the classic compiler can not be found.
Submitted by: Erik Meade <emeade@geekfarm.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268128 13f79535-47bb-0310-9956-ffa450edef68
The release build is correct BTW, CVS claimed I changed the file fast
enough, but it committed something else, grr.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268112 13f79535-47bb-0310-9956-ffa450edef68
running in the MS VM. It adds ${java.home}/packages/*.zip instead of
${java.home}/lib/classes.zip
- Javac.doClassicCompile() uses introspection to invoke the classic
compiler. This allows Javac.java to be compiled under a non-Sun JDK.
- Added location to the BuildExceptions thrown by javac.
Submitted by: Adam Murdoch <adammurdoch@yahoo.com>
made some methods protected to make Javac easier to extend.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268047 13f79535-47bb-0310-9956-ffa450edef68
userclasspath when using jikes or jvc to make them match javac's
behavior.
Submitted by: Robert Krueger <krueger@signal7.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268008 13f79535-47bb-0310-9956-ffa450edef68
compilation on Windows) Ant included the command itself as well as all
arguments as source files.
PR: #74 (linked to bug #31)
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267996 13f79535-47bb-0310-9956-ffa450edef68
fileset element of Path to fake extdirs for Jikes.
This should change:
(1) It will scan for all files not only .JAR files in the extdirs
specified. Javac ignores the extension as well.
(2) If no extdirs have been specified, the system property
java.ext.dirs is consulted.
(3) JikesOutputParser has been removed, instead the return code of
jikes determines compilation failures. Expected to behave the same as
before - suggested by Matt Foemmel <mpfoemme@ThoughtWorks.com>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267893 13f79535-47bb-0310-9956-ffa450edef68
This means you can now add somedir/*.jar to the CLASSPATH by
<classpath>
<fileset dir="somedir">
<include name="**/*.jar" />
</fileset>
</classpath>
and probably adjust the pattern if you don't want to recurse the tree.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267864 13f79535-47bb-0310-9956-ffa450edef68
types package on the same instance, so I had to touch a lot of ather
files as well.
Reported by: Frederic Lavigne <fred@L2FProd.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267827 13f79535-47bb-0310-9956-ffa450edef68
Allow the bootclasspath attribute to be used for a Jikes compile.
it is currently ignored if build.compiler == jikes.
Submitted by: Phil Hanna <author@philhanna.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267786 13f79535-47bb-0310-9956-ffa450edef68
This patch removes the concept of currentTarget and currentTask from the
BuildEvents code. To facilitate this I have moved logging to the task
level which now passes a task pointer to the project's log method.
Task level logging may also allow for more fine grained control of logging
in the future.
I have left the Project's log methods public to allow people's custom
tasks to continue to work. In the future these can become private.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267740 13f79535-47bb-0310-9956-ffa450edef68
These can either be specified as path strings or nested elements. The path
strings use the same separator conventions as other paths in Ant.
When using nested elements, each component can be specified in a separate
<src> element.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267739 13f79535-47bb-0310-9956-ffa450edef68
- Moved the remaining System.out
calls to the DefaultLogger
- Cleaned up the default output
- Added System.exit to main()
tools can still invoke the runBuild
method without an exit being called.
- Changed javac task logging to stream out a line at a time
Submitted by: Matt Foemmel <mpfoemme@ThoughtWorks.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267725 13f79535-47bb-0310-9956-ffa450edef68
The basic idea is to keep the core build engine "clean" and free of any
presentation logic, and to make it easier to extend Ant with other features
without cluttering up the core. To do this, I've defined a BuildListener
interface and added an "addBuildListener" method to Project that can be
used to register listener objects. Listeners could be implemented to
generate reports, send out emails when the build is complete, create a
bill of materials, etc...
The only new functionality visible to the end-user is a "-listener" option
on the command line that will let you specify the name of a class. An
instance of this class will be added as a listener to the project. I've
included a listener that will generate an XML log file, which you can use
by typing the command below.
build -listener org.apache.tools.ant.XmlLogger
PR:
Obtained from:
Submitted by: Matt Foemmel <mpfoemme@ThoughtWorks.com>
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267694 13f79535-47bb-0310-9956-ffa450edef68