Commit Graph
171 Commits
Author SHA1 Message Date
Jacopo Cappellato 17626eff28 Modified cobertura ant tasks to reuse jars already available in OFBiz rather than downloading them again.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1465582 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 09:42:26 +00:00
Jacopo Cappellato 906507848a updated cobertura-report task with path to the new jar for log4j
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1465578 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 09:26:49 +00:00
Jacques Le Roux d2ed43282b This was preventing the build to complete.
I wonder about jetty.properties. Should we move it to specialpurpose also?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1465362 13f79535-47bb-0310-9956-ffa450edef68
2013-04-07 11:13:21 +00:00
Jacopo Cappellato 27c1c384a4 Moved the appserver component from framework to specialpurpose.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1465276 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 17:25:01 +00:00
Jacopo Cappellato c91958a09d Fix for typo in comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1434656 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 13:05:20 +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 c50c86f405 Added capability to include visual themes in the build.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407349 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 03:58:16 +00:00
Hans Bakker 655c38dd6e adapt ant create component target for new security organization
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374160 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 06:45:07 +00:00
Hans Bakker 5734e5c151 memory allocation misspellings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361167 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 11:33:57 +00:00
Jacopo Cappellato 3aa85842f2 Moved the "birt" component out of framework to specialpurpose; moved all the birt reports from the applications to the birt component itself, where the application webapps are overriden to inject the reports; the end result is the same but since all these birt reports are simply a proof of concepts that cannot be used in production (for example they use hardcoded userlogin for authentication) the birt component should be probably disabled by default (but this will be discussed in the dev list).
Now it will be very easy to extract the birt component (for OFBiz Extras) or to disable it when deploying to production or when interested in sparing some hardware resources. I did some cursory tests but since the work has been challenging and rather complex I would appreciate testing help and also reviews to finds chunks of code that I could have missed and that could be moved out as well.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361130 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 09:48:32 +00:00
Jacques Le Roux c10088f694 I'm used to use r for release, I put it here also
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1358847 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 21:55:06 +00:00
Jacques Le Roux 390a8024b0 Removes the s I added in previous commit to be consistent with most other descriptions which uses the imperative.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1355901 13f79535-47bb-0310-9956-ffa450edef68
2012-07-01 13:45:09 +00:00
Jacques Le Roux c4ec183406 No functionall changes, just some targets comments improvements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1355863 13f79535-47bb-0310-9956-ffa450edef68
2012-07-01 08:46:59 +00:00
Jacopo Cappellato 6ba24ed4bc As discussed in the dev list a few months ago, this commits removes Seleniumxml from the trunk.
Seleniumxml was a subcomponent of the framework/testtools intended to facilitate the usage of Selenium tests in OFBiz.
However it was never upgraded to the new version of Selenium and it has not been widely adopted by the community; the OFBiz community agreed to remove components/tools like this from the core distribution if they are optional/very specific or not well maintained or if there is (as in the case of Selenium) a valid external alternative to perform the same actions.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1354380 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 09:19:20 +00:00
Hans Bakker 14f4e5a292 reverted recent security file changes revisions: 1350847,1350843,1350840,1348534,1347908,1347213,1346264, need more investigation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351206 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 04:36:20 +00:00
Hans Bakker 3bc59dc7ae corrected misplaced ant echo messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350847 13f79535-47bb-0310-9956-ffa450edef68
2012-06-16 03:02:57 +00:00
Hans Bakker a64d64b80a Some security data is really seed data, added informational messages to indicate security data is not loaded when selected seed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350840 13f79535-47bb-0310-9956-ffa450edef68
2012-06-16 02:32:04 +00:00
Jacopo Cappellato a610e70049 As discussed in the dev list, removed the experimental jcr component; its development will continue in the proper branch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1347478 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 08:14:28 +00:00
Hans Bakker 020dd28a4f improved 'load-tenant-data-readers' explanantion and removed confirmation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343458 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 03:11:01 +00:00
Jacques Le Roux 88fb917e8f Adds the default port number in start-debug target description
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343010 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 07:38:28 +00:00
Adam Heath 4af4438cbc FIX: cobertura is now actually usable again, at least with api-tests.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341086 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 16:03:28 +00:00
Jacques Le Roux e05dc542da Small formatting for previous commit (r1340398)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340399 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 10:03:28 +00:00
Jacques Le Roux 12d091748c A patch from Markus M. May "ew ant target run-test-debug" https://issues.apache.org/jira/browse/OFBIZ-4887
A new target run-test-debug in the build.xml provides debug functionality for specific tests.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340398 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 10:01:03 +00:00
Jacopo Cappellato 1f12dec9be Removed the dependency on "build" from all the "run-test*" ant targets: In order to run most of the tests successfully you need to run load-data that already depends on "build; however you can still of course use the command: ant build run-tests if you want to build and test with one command.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337484 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 08:58:31 +00:00
Adam Heath 01b4a0370c FEATURE: Add gen-kek ant target.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1336420 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 21:57:31 +00:00
Jacques Le Roux 661c42a9c2 Revert r1331995. We need rather to pass parameters through ant start* targets : http://ant.apache.org/manual/Tasks/property.html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1332097 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 08:17:18 +00:00
Jacques Le Roux 4a37f97b14 -XX:+HeapDumpOnOutOfMemoryError may turn useful sometimes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331995 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 20:56:17 +00:00
Jacques Le Roux 24c36ab9a1 Moves guiapp component inside POS component
Closes https://issues.apache.org/jira/browse/OFBIZ-4807



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1328727 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 19:19:09 +00:00
Jacopo Cappellato 807948f2ea Now start-debug doesn't depend on build to make it consistent with the other start* targets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326936 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 05:43:39 +00:00
Jacques Le Roux c79283dbfc A patch from Francis ANDRE "unify admin port and key setting: single point of definition in start.properties" https://issues.apache.org/jira/browse/OFBIZ-4793
If someone wants to change the admin password or port, he would have to change currently many files (-- build.xml, various .bat and .sh --). In order to avoid this error-prone pratice, I suggest to centralize the definition of the admin kay and port at 2 single points: the framework/start/src/org/ofbiz/base/start/start.properties and the
framework/start/src/org/ofbiz/base/start/jetty.properties

jleroux: in config.java I also changed 
String adminPortStr = getProp(props, "ofbiz.admin.port", "0");
adminKey = getProp(props, "ofbiz.admin.key", "NA");
to
String adminPortStr = getProp(props, "ofbiz.admin.port", "10523");
adminKey = getProp(props, "ofbiz.admin.key", "so3du5kasd5dn");

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1324989 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 20:32:35 +00:00
Jacopo Cappellato 4e7840006d Fixed wrong variable name rom my last commit; thanks to Pierre Smits for the report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1324687 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 10:32:28 +00:00
Jacopo Cappellato ddf12c136a Added checks for required input arguments for run-test and run-test-suite targets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1324630 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 08:32:10 +00:00
Erwan de Ferrieres f43fedbaee Using a parameter for property sonar.jdbc.url
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1311947 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:29:43 +00:00
Jacques Le Roux b29af991ba A patch from Pierre Smits "Including an ant target and ivy solution for downloading the mysql driver" https://issues.apache.org/jira/browse/OFBIZ-4800
Enhancing the OFBiz build solution by including a mechanism to download and install a mySQL driver for users who have (or want to use) that db platform.

jleroux: worked for mysql-connector-java-5.1.6.jar

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1311877 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 17:32:05 +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
Erwan de Ferrieres 4700a26f48 Reverting an unwanted change done at rev 1307836. Thanks Vikas for noticing on the dev mailing-list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1309331 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 11:17:32 +00:00
Jacopo Cappellato 762a5618c6 New target to show the status of the OFBiz instance; thanks to Francis ANDRE for the patch (OFBIZ-4775)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1308377 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 15:04:17 +00:00
Jacopo Cappellato 058f404d74 OFBIZ-4771
Renamed some ant tasks for consistency, improved descriptions, removed 2 redundant tasks

Summary of changes:

improved descriptions (unified style)
renamed: run --> start
renamed: run-batch --> start-batch
renamed: run-debug --> start-debug
renamed: run-pos --> start-pos
renamed: run-install --> load-demo
renamed: run-install-multitenant --> load-demo-multitenant
renamed: run-install-* targets -> load* (for example: run-install-seed --> load-seed etc...)
enhanced load-file (was run-install-file) to accept an optional 'delegator' argument and removed run-install-file-in-delegator and run-tenant-install-file
renamed: run-create-tenant --> create-tenant
renamed: run-single-test --> run-test
renamed: run-single-test-suite --> run-test-suite
the main old tasks (mentioned in documentation etc.) have been kept and now inform the user of the new syntax
updated README and main screen of Webtools with the new task name



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1308370 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 14:53:11 +00:00
Jacques Le Roux da5cc09fd3 A patch from Markus M. May "Allows build.xml in hot-deploy folder to build components in a specific order" https://issues.apache.org/jira/browse/OFBIZ-4736
In the current build.xml in the ofbiz-Home-folder, the build target is executed for each subdirectory (framework, application, specialpurpose) with the fileset:

<filelist dir="." files="specialpurpose/build.xml"/>

Only for the hot-deploy folder the fileset is quite different:

<fileset dir="${basedir}/hot-deploy" casesensitive="no">
<exclude name="disabled/**"/>
<include name="*/build.xml"/>
</fileset>

This is calling the build.xml directly in the hot-deploy components, which is an error, if you do have several dependent components in there, which needs to get build in the right order. I propose to use the following filelist:

<filelist dir="." files="hot-deploy/build.xml"/>

jleroux: a check is done, if no build.xml file is present in hot-deploy dir, then the build.xml files - if present - in hot-deploy sub-dirs will be used. So the previous, simpler, behaviour is kept as long as you don't need to build hot-deploy components in a specific order.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1308336 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 13:09:37 +00:00
Erwan de Ferrieres ffd9fc86b7 no functional change: removing an array of 1 element
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1307836 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 15:45:12 +00:00
Jacopo Cappellato b0981990ee Added new ant task to start OFBiz as a process in the background: "run-batch".
Moved the "stop" task a few lines below to group together all the tasks dealing with the startup of OFBiz.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1306777 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 10:02:35 +00:00
Jacopo Cappellato a61f23dd70 * added new ant task, named "stop", to stop OFBiz (same purpose of stopofbiz.sh/bat)
* OFBiz admin port and key are now passed as system properties to the "run", "run-debug" and "stop" tasks: the three tasks are now more consistent with the platform dependent startofbiz.sh/bat and stopofbiz.sh/bat scripts
* start/stop tasks are now grouped under the same section of the build.xml file; added a new section for data setup scripts (no functional changes)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304982 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 06:30:57 +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
Jacopo Cappellato b7421179e4 Removed a series of references to the Webslinger component, now gone.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302102 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 09:23:18 +00:00
Erwan de Ferrieres 23798e02cc Upgrade to sonar ant task 1.3
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1297040 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 12:59:22 +00:00
Jacques Le Roux 5b43cd8035 Updates log4j from log4j-1.2.15.jar to log4j-1.2.16.jar.
BTW this remind me Jacopo's question (on user ML) about Selenium in OFBiz usage...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1293808 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 11:23:13 +00:00
Hans Bakker f5970ffc66 add ant target for loading a file using a specific delegator and extend load message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1236044 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 06:01:03 +00:00
Jacques Le Roux f59309c37a Generating APIs is now deprecated, since Builbot creates and updates those automatically
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234295 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 09:58:15 +00:00
Erwan de Ferrieres 337aa79464 OFBIZ-3651 - Minor tweaks to the Cobertura integration - A patch from Bob Morley. I've also changed the cobertura version from 1.9.3 to 1.9.4.1 (latest) as your modifications are allowing it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230444 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 09:01:06 +00:00
Hans Bakker 380d3638c4 revert 1229478 : test result files are empty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1229799 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 23:29:24 +00:00