Jacopo Cappellato
5c2e9841e8
Removed commons-cli jar that was not used: barcode4j has an optional dependency on it but only if used from the command line (which is not the case in OFBiz); Groovy has a dependency on Commons CLI, antlr, asm but it uses a copy of them bundled in groovy-all jar, so removing the pathelements set for the ant path id "groovy.class.path".
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1677597 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 13:36:09 +00:00
Jacopo Cappellato
3552f65800
Merged json-integration-refactoring into trunk:
...
* moved the json-lib jar (json-lib-2.2.3-jdk15.jar) from the framework/webapp to the framework/base component
* removed the SQL select Parser.jj (parser definition) and its unit tests: it was not used (and never used) by any OFBiz code
* removed the JSON.jj (parser definition) and its unit tests: it was not used (and never used) by any OFBiz code apart from the JSON Converters (now migrated to json-lib, see next items in this list) some utility methods in UtilIO.java (that have been removed too because they have never been used in OFBiz)
* removed the JavaCC jar and related ant scripts because no more needed after the removal of Parser.jj and JSON.jj
* converted the JSONConverter code that was based on JSON.jj to Jackson
* added a new class org.ofbiz.base.lang.JSON that have been contributed by Adrian Crum that is a facade for simplifying the client code and for hiding the specific JSON library being used
* removed an unused method: ImageManagementServices.toJsonObject(...)
* added TestBooleanConverters to the list of tests
* new unit tests for the new JSON converters
* refactored Ajax code in applications to use the common request json response rather than a custom method
* OFBIZ-5790 Implemented ability to call a service event by passing its input parameters in the request body as JSON data. These classes provide a simple mechanism, based on the request's content type, that can be extended to support other formats (e.g. XML).
This commit resolves OFBIZ-4572, OFBIZ-3365, OFBIZ-5751, OFBIZ-5790
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1635901 13f79535-47bb-0310-9956-ffa450edef68
2014-11-01 09:06:42 +00:00
Jacopo Cappellato
c50eb3abfb
Removed three asm jars not used by OFBiz code or any other jars in the OFBiz trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622996 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 10:31:29 +00:00
Jacopo Cappellato
1830aee2c7
Removed old code for JPublish
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622010 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 14:18:17 +00:00
Jacopo Cappellato
9c292a15da
Some minor changes for r.1605524: Updated build files to use/require Java 7
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612524 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 09:59:09 +00:00
Jacques Le Roux
48d8184fc1
A Jacopo's patch
...
minimumantversion = 1.9.0
ant-nodeps, javacc, jjtree now in Ant
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612474 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 06:05:38 +00:00
Adrian Crum
714050ef33
Updated build files to use/require Java 7.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1605524 13f79535-47bb-0310-9956-ffa450edef68
2014-06-25 17:59:46 +00:00
Adam Heath
455edd3727
Remove sourcepathref from default-javac; in build.xml that did *not*
...
create a src-dir patternset, the default *empty* src-dir pattern set was
used. Then, when javac would compile src/**/*.jar, it would *also*
compile any *other* java files it happened to find in the folder.
In other words, if there was an unpacked tree, let's say named 'p', and
there was a set of folders in there that eventually had java files, they
would all get compiled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1605223 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 23:21:05 +00:00
Adam Heath
6690816b01
Fix detection of cobertura, for compilation of the hook used by the
...
runtime container; also fixes the classpath used to define the ant
task. Now, command-line api tests run underneath cobertura work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1605216 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 23:07:39 +00:00
Jacopo Cappellato
692a5ab569
Upgrade to the latest official major version of Groovy: 2.2.1
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554242 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 14:44:32 +00:00
Jacopo Cappellato
4c6d49b735
Upgrade to the latest version of Groovy: 2.1.9
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1537086 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 13:43:08 +00:00
Adam Heath
3f0e1ff827
FEATURE: Export ofbiz.home.dir to external projects, so that they can
...
continue to either auto-detect the location of ofbiz, when built
separately, or do the right thing when called during a top-level ant
run.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497888 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 19:08:02 +00:00
Adam Heath
870f6d8ae7
OPTIMIZE: For all <subant> calls that need to deal with possible
...
extension compnonents, switch them over to a macro, <externalsubant>.
The reason for this will soon become apparent.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497887 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 19:07:57 +00:00
Jacques Le Roux
e6ede1ca2e
Reverts r1310983 (related to https://issues.apache.org/jira/browse/OFBIZ-4792 )for 2 reasons:
...
* I missed to put in LICENSE and NOTICE
* It's an issue for Birt, see OFBIZ-5070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416358 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 07:02:38 +00:00
Adrian Crum
dd8760efd9
Updated JavaDocs project title.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372511 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 16:59:24 +00:00
Jacques Le Roux
feecb15093
"Housekeeping of jar files" https://issues.apache.org/jira/browse/OFBIZ-4833
...
Moves Minerva and XAPool to Attic
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1356471 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 20:29:54 +00:00
Jacques Le Roux
b48ff3a62c
Closes "Move SHARK to Attic" https://issues.apache.org/jira/browse/OFBIZ-4795
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343064 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 15:47:32 +00:00
Jacques Le Roux
bf5a242cf0
Creates an ant task which uses YUICompressor (yuicompressor-2.4.6.jar) to dynamically minify our own (or custom for users) js and css files (most of the biggest external ones are already compressed)
...
More work is needed, this is just the the minimum with an example.
Related to https://issues.apache.org/jira/browse/OFBIZ-4792
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310983 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 12:12:07 +00:00
Jacopo Cappellato
6fb5a9a309
Upgrade to Groovy 1.8.6 (from Groovy 1.7.7).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1306773 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 09:57:55 +00:00
Jacopo Cappellato
e5ead4907b
Moved all platform dependent scripts to the "tool" folder, with the only exception of the "ant" scripts for unix and windows that are still in the home folder.
...
Removed a series of unused files (ant extensions).
Removed special handling for hsql db from ant tasks (hsql is no more bundled with OFBiz).
Please help testing the scripts as I was only able to run some limited tests on my Mac.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304369 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 14:26:32 +00:00
Adam Heath
fc70cf098f
BUILD: Added an -X:lint:unchecked line, uncommented. This line should be left
...
in the file, so that it is easier to enable/disable it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141268 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:10:31 +00:00
Adam Heath
06e010b587
FIX: Add a check for java being at least 1.6.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139689 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:49:41 +00:00
Marco Risaliti
e91b3aea57
Try increasing the maxmemory parameter for javadoc build as suggested by Jacques
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1131416 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 15:33:24 +00:00
Marco Risaliti
2b548457e0
Made working correctly ant build target docs and docs-all for javadoc documentation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128049 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 19:18:36 +00:00
Jacques Le Roux
a2f73b3fd8
I forgot about <if> part ofbiz-jjtree macro (not used OOTB) in r1100903. I checked there are no other cases.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100969 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 11:49:28 +00:00
Jacques Le Roux
90842ddfb9
In r1100795 I missed some old <if> OOTB use cases.
...
Replaces old <if> syntax by ant-contrib's
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100903 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 07:19:32 +00:00
Jacques Le Roux
c35abeb2cd
Adds ant-contrib-1.0b3.jar
...
Replaces the <if> task (used javascript in a file with .py suffix :/ ). I kept it commented out for now, in case someone is using it (not used OOTB)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100795 13f79535-47bb-0310-9956-ffa450edef68
2011-05-08 19:18:27 +00:00
Jacques Le Roux
1d9b768b5a
Add -Xlint:-path to javac16 target
...
Closes "Add <compilerarg value="-Xlint"/> to all build targets" (https://issues.apache.org/jira/browse/OFBIZ-4213 ) - OFBIZ-4213
+ slight formatting in start build
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081138 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 15:25:37 +00:00
Marco Risaliti
3927aa0273
Remove some warning of javacc classes after upgrade javacc to version 5.0 (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076779 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 20:29:34 +00:00
Jacques Le Roux
3f6d0167f0
Update Groovy from 1.7.4 to 1.7.7
...
This version is required for Groovy++: http://code.google.com/p/groovypptest/wiki/HowDoesItWork
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1068830 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 10:17:21 +00:00
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