Adam Heath
5c90b0507e
When compiling, don't include the ant runtime classes; this makes the
...
compiled output more stable, and not depending on any random included
ant support libs. If any are needed, they need to be explicitly added.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040794 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:03:19 +00:00
Adam Heath
7834f98099
Use a script instead of a class for <if>; no longer have to compile anything.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997425 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:57:06 +00:00
Adam Heath
f6154d65f5
<if> no longer accepts conditions directly; instead, all conditions have to be placed underneath a <condition> element.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997423 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:57 +00:00
Erwan de Ferrieres
2b854ca29b
groovy 1.7.4 bugfix release (notes : http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=16563 )\n this time it's ok
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987905 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 13:57:31 +00:00
Adam Heath
36eb0d9762
Add an ant version check, to make certain at least 1.7.1 is being used.
...
This file gets included by all build.xml, so the version check will
happen whenever ant gets called.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@978957 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 01:47:34 +00:00
Erwan de Ferrieres
35fed9293a
Replacing groovy with the lastest stable release (we had a rc since december 2009)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955036 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 20:17:17 +00:00
Adam Heath
95949ff2b7
Add <test-jar> macro.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935381 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:03:47 +00:00
Adam Heath
f2bfef6274
Create a main-jar macro.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935380 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:03:37 +00:00
Adam Heath
dc3ba1b793
Fix groovy.class.path, and define groovyc taskdef and default-groovyc
...
presetdef.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933809 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 23:01:36 +00:00
Adam Heath
426dc6fa7b
Remove javacc from the runtime library path.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930731 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 18:47:22 +00:00
Adam Heath
4df07d9b97
Link generated javadoc to the java16 se docs on sun.com.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894039 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 01:02:11 +00:00
Adam Heath
276cc7b501
Add a default-javadoc presetdef.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894038 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 01:01:39 +00:00
Adam Heath
9c1268bc5c
Remove javac14 and javac15 presetdefs.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894023 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:13:23 +00:00
Adam Heath
56aba06a5d
Add a java16 preset def.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894021 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:08:27 +00:00
Adam Heath
c95c42b395
Upgrade ant to 1.7.1.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892693 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:30:14 +00:00
Adam Heath
8f2b94fc02
Switch <path id="src-path"/> to a patternset implementation. See next
...
commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892171 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 08:04:06 +00:00
Adam Heath
48a7d8470e
Add a target for per-component quick testing. Can only deal with tests
...
that can run standalone.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888851 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 16:05:33 +00:00
Adam Heath
1b52e470c8
Fix compile error with ant-nodeps.jar not being available globally.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835774 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 08:32:05 +00:00
Adam Heath
cdae8bcd76
Add jjtree/javacc macro wrappers.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835632 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 23:16:13 +00:00
Adam Heath
195170175b
Use pattern sets in <javac/>, to include/exclude files, and modify
...
all build.xml to override the sets, if nescessary.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709627 13f79535-47bb-0310-9956-ffa450edef68
2008-11-01 03:06:17 +00:00
Adam Heath
0f602ee903
Disable the scriptdef stuff for now.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709292 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 23:34:55 +00:00
Adam Heath
2678df713a
Make it work with clean global ant. Now both ./ant and a system
...
installed ant will work; tested in a brand new clean chroot.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708993 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 19:47:20 +00:00
Adam Heath
b32378737b
Finish feature integration; the ofbiz-jjtree task now works.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708760 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 03:22:05 +00:00
Adam Heath
e8ba1f34d8
Add javacc, with support script.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708734 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 00:05:36 +00:00
Adam Heath
a60909100b
Add a new ant task, <if><condition/><commands/><else/></if>, since
...
ant itself doesn't support such a construct.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708699 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 22:08:24 +00:00
Adam Heath
ec4a62d71f
Define a groovy classpath, for use by <script> and <scriptdef>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708682 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 21:40:43 +00:00
Adam Heath
d933f0afdb
All .java files are encoded as UTF-8, so tell javac this.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688221 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 23:06:08 +00:00
Adam Heath
b6a1ae5e5e
Another minor optimization; no longer need to specify classpathref in
...
all the build.xml files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
Adam Heath
7e3c93862c
Slight tweak, so that ofbiz.home.dir is defined by macros.xml, so it
...
is available in more places.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681933 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:27:49 +00:00
Adam Heath
7dc238ed3c
Gah, I read the diff wrong, this shouldn't have been done; ie, my
...
last message was reversed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681932 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:23:55 +00:00
Adam Heath
f83698446c
Comment out the -Xlint:unchecked argument to javac.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681931 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:21:58 +00:00
Adam Heath
18391f98a9
The build.xml files are now much smaller and simpler; they reuse a
...
few global definitions. 1585 lines removed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00