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
Jacques Le Roux
51220b3101
Add a caution note to the run-install-multitenant target
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930492 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 08:18:49 +00:00
Adrian Crum
38727d0730
Added run-install-multitenant ant target to make it easier to set up the multi-tenancy demo.
...
Caution: this creates three databases, with each one loaded with all demo data. Be aware of disk space use and the time required to run the task.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930471 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 04:44:13 +00:00
Jacques Le Roux
9c4f09d23b
Closes OFBIZ-716, done by hand from an Andrew Sykes's old idea (found by chance)
...
"Allow pos memory setting to be set independently" (https://issues.apache.org/jira/browse/OFBIZ-716 )
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 18:36:12 +00:00
Adam Heath
3576e8a260
run-single-test* targets now depend on build.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@921985 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 18:56:21 +00:00
Jacopo Cappellato
246759518a
Improved create-component ant target to check for mandatory arguments; thanks to Chris Snow for the patch (OFBIZ-3538)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@919428 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 14:16:17 +00:00
Adam Heath
aa33cda9a2
Don't recurse into all subfolders when trying to find javadocs and
...
build.xmls.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@919140 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 19:27:43 +00:00
Jacques Le Roux
44fd3fb633
Description of the svninfo ant target
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901711 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 14:02:59 +00:00
Jacques Le Roux
d0e9a7a34f
A patch from Chris Snow "build.xml run-install-readers error" ( https://issues.apache.org/jira/browse/OFBIZ-3410 ) - OFBIZ-3410
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899188 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 13:18:49 +00:00
Erwan de Ferrieres
7022e4ad22
As spotted by Scott on the dev mailing list, resource names should be camel cased.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899090 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 08:00:55 +00:00
Erwan de Ferrieres
25880920fb
tabs to spaces
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899089 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 07:55:40 +00:00
Erwan de Ferrieres
8a5650f352
A patch from Chris Snow : provide hints in create-component ant target ( https://issues.apache.org/jira/browse/OFBIZ-3401 ), OFBIZ-3401
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897781 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 08:01:22 +00:00
Scott Gray
2383b952e6
Added required macros.xml import so that the docs-all target works again
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894128 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 03:48:17 +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
f5afb5fc39
Fix parsing of source files; this worked previously, but I think that
...
was with cobertura 1.9.1. It's possible 1.9.3 does it slightly
different.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893598 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 19:02:19 +00:00
Scott Gray
e593e5e6b8
Changed behavior of the ant targets run-single-test and run-single-test-suite to be consistant with run-tests and fail the build if any of the tests fail
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892966 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 20:23:45 +00:00
Hans Bakker
043d3371e5
extended the description of run-tests target
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892728 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 08:46:51 +00:00