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
Jacques Le Roux
4c36881f4e
Revert partially r1069996.
...
It's good to have clean-downloads but not in clean-all
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070281 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 19:36:29 +00:00
Adam Heath
d51aeab3b1
Add a target to remove downloaded files.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069996 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 00:05:54 +00:00
Jacques Le Roux
89b3453baf
Following r1065144 <<A slightly modified patch from Pierre Smits "Enhancement to create new tenants easier" ( https://issues.apache.org/jira/browse/OFBIZ-3971 ) - OFBIZ-3971>> here is a modified build.xml file with better "ant -p" rendering (less cluttered)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1068811 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 09:37:15 +00:00
Jacques Le Roux
c2ea70f355
A slightly modified patch from Pierre Smits "Enhancement to create new tenants easier" ( https://issues.apache.org/jira/browse/OFBIZ-3971 ) - OFBIZ-3971
...
This patch enables users to create new tenants via the ANT process.
Users can enter:
* Tenant ID
* Tenant Name
* Data to load on creation of the tenant db (e.g.seed, seed-ext, demo)
* Database Platform (Derby, MySQL, Oracle, PostgreSQL) remark: You can NOT mix platforms)
* IP address of the database (you can add a port if needed)
* User-ID for the database
* Password for the database
Based on the data provided the process will:
* Create a new row in the Tenant table
* Create a new row in the TenantDataSource table
* Create new tables in the new tenant database and fill with initial data (seed, seed-ext, demo)
* Create a new admin id for the tenant (based on Tenant ID followed by '-admin')
* Set the initial password for the tenant admin id (initial 'ofbiz', must be changed on first login)
This patch has been tested against: Derby, MySQL, PostgreSQL. This has not been tested against other db platforms.
Prior to running the ANT task the user
* has to modify 'general.properties' in framework/common/config to reflect multi tenancy (multitenant=Y)
* has to have appropriate db driver(s) in place
* has to create the databases first in function of the entityengine.xml datasource-names (not for Derby, applicable for MySQL and PostgreSQL.)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065144 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 23:35:01 +00:00
Hans Bakker
93d973d583
add description to download postges driver so it can be used without ivy
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057142 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 10:23:53 +00:00
Jacques Le Roux
5df7d81104
A patch from BJ Freeman "Add help document (docbook) support to the create-component ant target" ( https://issues.apache.org/jira/browse/OFBIZ-4070 ) - OFBIZ-4070
...
Creates the data/helpdata and document directories. Copy templates for each folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1051477 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 12:49:41 +00:00
Erwan de Ferrieres
e91d5419b5
XML tag was having an empty body
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1051196 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 16:29:53 +00:00
Erwan de Ferrieres
a7b967d48b
Using ivy for downloading PostgreSQL driver
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050927 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 18:14:50 +00:00
Erwan de Ferrieres
adbf783134
Adding ivy to OFBiz and make an example with cobertura. No more errors when running tests.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050915 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 17:38:57 +00:00
Christian Geisert
f806f91fd8
fix encoding problems when running the Ant target 'create-compoment' on a non UTF-8 platform (i.e. Windows)
...
See OFBIZ-4045
Submitted by Georg Koester
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050099 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 19:06:42 +00:00
Jacques Le Roux
db847d831d
Update ant test targets syntax for
...
run-single-test
run-single-test-suite
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001834 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 17:47:50 +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
695cc497f2
Fix coverage reports; the coverage for base was reporting 100%, which is
...
not correct. With real numbers on base, it shows a lot of missing
lines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965914 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:14:06 +00:00