Stefan Bodewig
06a078f0ed
Use a class not present in libgcj to detect Java 1.6 - PR 50256
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1040148 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
9016f41069
Detect OpenJDK7 and Harmony (not that we'd use it for now)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1037654 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
88a7b66eb9
If we cannot build Javadoc, we cannot copy it to the dist dir either.
https://hudson.apache.org/hudson/view/Ant/job/Ant_Nightly/151/console
javadoc_check:
-javadocs.do:
-javadocs.dont:
[echo] Javadoc creation of Ant's API does not work with JDK 1.4. Please use a newer one.
javadocs:
dist_javadocs:
[mkdir] Created dir: .../apache-ant-1.8.2alpha/docs/manual/api
BUILD FAILED
.../build.xml:1086: The following error occurred while executing this line:
.../build.xml:850: .../build/javadocs not found.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@999504 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
0485dd6a6e
create distribution artifacts for the manual
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@964076 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
ebb29d5bba
only ignore system classes if not running in Gump or similar environments. Hopefully fixes test-ant in Gump
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@954887 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
1e1f933a7f
Seems to be necessary to build ant-junit4.jar separately.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@953840 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
d15c92db59
Build failure on JDK 1.4.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@953801 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
114d55869f
#34748 : run individual test methods.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@953761 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
a341fc03e5
Merging ant-nodeps.jar into ant.jar.
Not at all sure that the POMs are now correct; very hard to tell with a monolithic source tree.
Consolidation in manual to follow.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@948562 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
354020355b
#49287 cont'd: XSLTTraceSupport must also be in ant.jar.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@946700 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
4519c37a7e
Now that it is not necessary to put junit.jar into $CLASSPATH to run tests, need to make sure -Dtestcase=... works too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@944382 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
c83d257891
Fork JUnit tests by default.
Otherwise two major problems prevent plain old 'ant test' from working:
1. You get NCDFEs, mostly from JUnit framework classes, for most tests.
2. The version tested is `which ant` rather than what is in the source tree,
resulting in weird failures such as in ConcatTest:
The <concat> type doesn't support the "overwrite" attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@944377 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
4f97344bd8
#49287 : TraXLiaison belongs in ant.jar, not ant-nodeps.jar, since it is (now) a hard dep of XSLTProcess.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@944372 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
da48edd72e
Distinguishing between compile-time and runtime classpath for JUnit tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@944361 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
a0f02bf26c
Fix compilation inside a container which may have some 3rd-party libraries loaded somewhere but not accessible with includeantruntime="false".
Otherwise get numerous errors trying to compile e.g. JavaMail- or JSCH-related tasks from inside NetBeans.
Would be cleaner for <available> to have an option to check in the specified classpath + bootstrap & extension loader, but not elsewhere;
lacking that, have to specifically not use ignoresystemclasses="true" on anything which is likely to be part of the JRE.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@944354 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Antoine Levy-Lambert
b00f385f72
bump version
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@942284 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Antoine Levy-Lambert
9f96b52f96
preparation for ant 1.8.1 build
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@939839 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jacobus Martinus Kruithof
d9c6fb9037
Inspired on one of the patches on debian ant
Minimum java version 1.8+ is 1.4.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@922191 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
84926aa016
removing the stylebook task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@916761 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
69eba07e72
Removing ant-trax.jar and folding TraXLiaison into ant-nodeps.jar.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911648 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
bce2b193ec
Removing stale references to xercesImpl.jar and xml-apis.jar.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911561 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
f197ffbdd1
adapting the creation of the maven artefacts to maven2 repository layout
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@909957 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
f369bf5447
bump version
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@908004 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
439bb1ebd1
removing unused property xalan2.present
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905477 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
03f83a7da9
preparation for the 1.8.0 release
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@904651 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
dd92def3ae
try to make ZipExtraField change in zip backwards compatible for subclasses that override zipFile. PR 48541
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@900082 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
f34a0d9bbc
add an empty lib/optional to the source distribution
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@896835 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jan Materne
121c6bf8d3
Skip Javadoc creation on JDK 1.4, as it always fails for unknown reason.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@896396 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
f563e6713e
preparation for ant1.8.0RC1 release
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@896217 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
e87e1b281a
DefaultLoggerTest must run in same classloader that loads DefaultLogger itself
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@805397 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c8232ed82c
allow methods other than GET in http condition. Submitted by Robert Clark. PR 30244
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796762 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
8ebe808f72
override getResources in a new AntClassLoader subclass that will be used consistently when Ant is running on Java5+. PR 46752
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796647 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jacobus Martinus Kruithof
8d4985ca74
made easier to switch loglevel on the antunit testcases
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793056 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
8b05902d4b
make javac independent of CLASPATH
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@789604 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
bbea1d834d
javadoc creation of Ant's own sources failed on JDK 1.4. PR 46731. Patch submitted by Martin von Gagern
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@775914 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
2b8fbea11b
create SHA-512 checksums as well
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@773596 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
53db3a2602
Add support for Xalan2 Traces. PR 36670.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@722849 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
6a67c09afc
remove .NET tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@706580 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jan Materne
d8114b36f5
Print failing tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@703355 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jesse N. Glick
59785f30c9
junit.jar is available in the source tree; might as well compile against it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@681571 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Peter Reilly
ded146c2dc
comment out the junit collector code (I cannot figure out how to make it work)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@639879 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
c36b3e7947
fix for bugzilla 44630 - error expansion of properties in docs dir
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@638625 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
bbcd8aea0d
default access precedent for testcase access
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591341 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
4369f64826
FailureRecorder
* remove duplicate "no-op" statement (javadoc + code)
* use BuildListener for writing at the end of <junit> instead of overwriting the file all the time
* minor comment edit
* pass project reference to <junit> nested elements (eg listener)
* order methods by interfaces
* some log messages in the recorder
* can use Ant properties for setting the location
FormatterElement
* don't set the project reference if there is already one
build.xml
* use ant property instead of system property for configuring FailureRecorder
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@587844 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
5026f31269
-revert change as we don't support antlr3 (yet)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@586652 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
e884c74dc5
-allow use of antlr 3+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@586281 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
f3709b2e5b
removing starteam
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@581549 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
46a5dc988f
removing weblogic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@578882 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
2f86109f47
Make use of the FailureRecorder
- ${junit.collector.dir} references ${build.dir} therefore a change of the order was necessary
- makro "test-junit" uses the recorder like the manual sais
- invocation of batchtest is now dependend on ${hasFailingTests} (set by <test-junit>)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@574557 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
cf1d42faa6
version -> 1.8.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@572392 13f79535-47bb-0310-9956-ffa450edef68
18 years ago