Commit Graph
144 Commits
Author SHA1 Message Date
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
Hans Bakker f207e9cd22 make test-results location configurable in a propoerties file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1229478 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 07:13:31 +00:00
Erwan de Ferrieres af1bb48c76 Adding a new ant target, clean-lucene-index, which will remove all files in content/index. These target is called by clean-all
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1202850 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 19:31:56 +00:00
Jacques Le Roux 24ea1d710d Temporarily fix for "./ant clean-all deletes any extra installed JDBC files" https://issues.apache.org/jira/browse/OFBIZ-4556 reported by Sam Hamilton
Comments out
<!-- antcall target="clean-downloads"/ -->   
from clean-all target

I also got this on Windows XP (easily solved by hand)
BUILD FAILED
D:\workspace\ofbizDev\build.xml:78: The following error occurred while executing this line:
D:\workspace\ofbizDev\build.xml:84: Unable to delete file D:\workspace\ofbizDev\framework\base\lib\cobertura-1.9.3.jar

Comment: 
<!-- FIXME: clean-downloads introduces some issues: with cobertura (on Windows can't be deleted, not sure why),  but especially with postgresql drivers -->


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1201110 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 00:12:34 +00:00
Hans Bakker b64da95ceb add 2 new tenant ant commands to load seed/demo data for a specific tenant only: './ant run-install-tenant -DtenantId' and './ant run-install-tenant-all' for all tenants in the tenant enttity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172989 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 06:23:02 +00:00
Jacques Le Roux 1196ca886e I found that often you need to differentiate patches between staging and production (URLs, etc.). So adding sub-dirs here
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1150560 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 07:20:18 +00:00
Adam Heath a0777a70af TESTS: Remove previously added call to the "tests" target from
"run-tests".  In actuality, the container-based tests were already
running the base api tests, but not the TTLObject tests.  This was
originally done on purpose, as I was aware of a bit of racyness in the
async test, that I needed to track down before enabling it during
automated testing.  Unfortunately, this also means that the prior
runtime bug due to the removed line would not have been caught, unless
it was documented to run "tests" in each component from the cmdline
separately.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141269 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:10:35 +00:00
Adam Heath e4e81b1363 TESTS: Call the library api unit tests when the container tests are run.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139688 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:49:37 +00:00
Erwan de Ferrieres 1c150a1edf No need to build 2 times when executing run-tests-with-cobertura, as run-tests is already calling this target
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139350 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 15:10:49 +00:00
Erwan de Ferrieres 6193db4479 Only the run-tests-with-cobertura target should be downloading cobertura
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1138649 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 21:52:18 +00:00
Erwan de Ferrieres 1016dce115 Spelling mistake in run-tests-with-cobertura target. Thanks Adrian
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1133357 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 11:52:13 +00:00
Erwan de Ferrieres b21bfb3446 Making run-tests not using cobertura, and creating a new separate target if you want code coverage: run-tests-with-cobertura
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1133353 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 11:44:03 +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
Erwan de Ferrieres 2a0e31460d Configuring the sonar task so it can be used on the ASF servers. Adding also a full sonar task launching all the ant task. See https://issues.apache.org/jira/browse/INFRA-3590 if you want more info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100240 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 14:49:59 +00:00
Erwan de Ferrieres 9c978007d6 Adding a cobertura target for sonar, and making sonar use it. Now the sonar task is using the coverage report and displays it in the project dashboard
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088560 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 11:32:48 +00:00
Erwan de Ferrieres 239bc9ec70 Some tweaking for the sonar task, putting the work directory in runtime/, and setting values for sonar.java.source and sonar.java.target, which are used in combination with PMD and clover. More info at http://docs.codehaus.org/display/SONAR/Advanced+parameters. Thanks to René Scheibe for the idea
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088528 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 09:47:35 +00:00
Erwan de Ferrieres 7f1b33322c Adding description for cobertura-report task
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088524 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 09:33:01 +00:00
Jacques Le Roux 2b9cf0c882 Right syntax of data-readers for Windows XP. No functional changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086642 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 17:09:06 +00:00
Erwan de Ferrieres 3f6e48795c Tests should be runned in a known environment, so setting the LC_ALL=C for all test targets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086239 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 14:00:12 +00:00
Erwan de Ferrieres 7fc40d3065 Thanks to René Scheibe for spotting a copy/paste error in sonar ant task
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085799 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 21:01:46 +00:00
Jacques Le Roux 2e1b5dfdde Forgot a "m" in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085605 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 23:55:24 +00:00
Jacques Le Roux 9a82ae9f68 memory.maxpermsize.param 128 maybe not be enough for trunk, upgrade to 512
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085599 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 23:39:16 +00:00
Erwan de Ferrieres e794220091 Adding a tip for run-tests target, as it needs a valid Internet connection for downloading cobertura
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084927 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 12:15:29 +00:00
Erwan de Ferrieres bd816b4092 Updating the download-selenium target, now it is using the release 1.0.3, which resolves some issues with firefox
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082149 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 13:55:24 +00:00
Erwan de Ferrieres 9c20ffba11 Adding a description for the sonar task
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082097 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 08:46:04 +00:00
Erwan de Ferrieres 9e320e4b70 Adding the ant sonar target. You need to have a sonar instance running to use it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081708 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 10:01:27 +00:00
Marco Risaliti 1a59489bf8 Correct word intance in instance
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078364 13f79535-47bb-0310-9956-ffa450edef68
2011-03-05 21:39:29 +00:00
Erwan de Ferrieres 47000b67af Adding ivy task for downloading sonar ant plugin, ant task will follow
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075902 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 16:51:15 +00:00