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
Adam Heath
7286ff8d28
Instrumentation with cobertura. It won't actually do anything, tho,
...
until cobertura-1.9.3.jar is placed into framework/base/lib.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889839 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 22:27:18 +00:00
Scott Gray
3623936aea
Removed _save-runtime-data and _load-runtime-data targets which are no longer needed now that the delegator can rollback db changes from each test suite itself
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886698 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 08:09:33 +00:00
Scott Gray
fa4567a08e
Indentation tidy up, no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886697 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 08:09:23 +00:00
Scott Gray
59a9af11e2
Changed the run-tests target to delay failure until the junitreport task has completed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884698 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 21:08:20 +00:00
Adrian Crum
d08e8629ed
Reverting 884093 and 884091. Those targets are needed for the demo servers.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884282 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 21:31:43 +00:00
Jacques Le Roux
b69a2ea0ba
copy-apis deprecated as well
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884093 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 13:45:22 +00:00
Jacques Le Roux
eb643a213b
deprecated
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884091 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 13:44:11 +00:00
Ashish Vijaywargiya
66c4d8d61c
Adding comment for create-component target.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884004 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 08:11:03 +00:00
Jacques Le Roux
02aa5ff424
I put descriptions for committers tasks
...
* docs-all
* build-website
* copy-dtds
But I wonder now if the 2 1st are still needed. It seems that we no longer have JavaDoc on the site (It's automatically built now, isn'it ?)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883922 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 23:23:02 +00:00
Scott Gray
24b64728fe
Throw a ContainerException if any tests are unsuccessful during a test run and have the run-tests target fail if that is the case
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882995 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 21:20:50 +00:00
Jacques Le Roux
1f23dcaae0
A patch from Erwan de FERRIERES "Add an ant task to download the postgreSQL JDBC driver" ( https://issues.apache.org/jira/browse/OFBIZ-3232 ) - OFBIZ-3232
...
This add a simple ant to download the postgreSQL JDBC driver, to simplify the installation of a database based on this engine
Currently it works only for the last drivers available : postgresql-8.4-701.jdbc4.jar. But this may be easily adapted.
I have also added an svn ignore for postgresql-8.4-701.jdbc4.jar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882502 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 11:06:44 +00:00
Adam Heath
5121722dd0
Add <if> support in build.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835630 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 23:12:07 +00:00
Jacques Le Roux
4695486068
A patch from Erwan de FERRIERES "Add an ant "clean-tempfiles" target in main build.xml" ( https://issues.apache.org/jira/browse/OFBIZ-2447 ) - OFBIZ-2447
...
+ some target descriptions (for ant -p)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831778 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 23:02:29 +00:00
Jacques Le Roux
2361bd6cb2
A patch from Erwan de FERRIERES "generate a html report when running ant run-tests" ( https://issues.apache.org/jira/browse/OFBIZ-3040 ) - OFBIZ-3040
...
When you run the "ant run-tests" command, junit is generating xml files, which are not always easily readable. There is a function with junitreport which allow to generate html reports from the xml ones. Then it is more user friendly to watch them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826428 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 13:07:09 +00:00
Scott Gray
01dc5a038a
Added the maxPermSize jvm arg the various startup methods since OFBiz now seems to require more than the default 64m. Also removed startofbizNoLog.bat since it seems somewhat superfluous, instead made startofbiz.bat log to the console by default and added a comment about how to change it if desired.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818321 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 00:05:05 +00:00
Hans Bakker
2d51096b6d
Excellent contribution from Brett G. Palmer in issue: OFBIZ-2116
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804074 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 04:22:27 +00:00
Jacques Le Roux
d187dc2b91
This was blocking ant-clean when captcha dir did not exist
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773178 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 08:08:35 +00:00
Jacques Le Roux
2ba6b78c39
Clean runtime/tempfiles/captcha/ with xtra
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773114 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 21:45:32 +00:00
Scott Gray
94618cdef3
Add a template for test definitions to the create-component ant target
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772481 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 00:54:43 +00:00
Jacques Le Roux
c5650f6cab
Since 9.04 the dot was ambiguous
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768815 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 22:20:41 +00:00
Jacques Le Roux
b9c3ddef08
2d part and end of an effort to remove trailing spaces
...
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg )
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Adam Heath
2d50f300cb
Some targets are private/internal; prefix those with '_'. Remove
...
the description from those targets, as they aren't meant to be called
externally. Add description values to the other test-based targets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757032 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 21:43:24 +00:00
Hans Bakker
f49dca9a5d
some more descriptive text in the ant messages
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755871 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 08:21:03 +00:00
Hans Bakker
bea2165de7
added some more descriptions so all targets are listed with the './ant -p' or './ant -projecthelp' command
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755864 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 07:27:13 +00:00
Jacques Le Roux
8055d404c9
From a demand on user ML
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751734 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 16:40:31 +00:00
Adam Heath
73edfa7c96
Change implementation to be based on suite-name.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750342 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 06:54:41 +00:00
Adam Heath
f2aaa8e146
Convert tab to space in last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750331 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 06:10:51 +00:00
Adam Heath
d53cf9b3dc
Woop. doing 'ant run-test-list' will now run each test case
...
completely isolated from any other test. The granularity it uses for
this is each <test-case> inside a <test-suite> is run separately.
This might not be the right approach; but at least this gives us a
way to do it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750326 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 06:04:34 +00:00
Jacques Le Roux
1738891384
A patch from Bruno Busco "A more consistent SVN revision number in svninfo." ( https://issues.apache.org/jira/browse/OFBIZ-2199 ) - OFBIZ-2199
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746477 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 10:08:24 +00:00
Jacques Le Roux
dd733c139e
A slightly patch from Bruno Busco "To show Current Revision number of OFBiz on its home site that will facilate in testing and comparing things with a local copy of OFBiz." ( https://issues.apache.org/jira/browse/OFBIZ-1700 ) - OFBIZ-1700
...
I changed the label from Release and revision to Release.revision (no translation needed)
I removed also depends on build from run-pos
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744841 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 07:49:40 +00:00
Jacopo Cappellato
6f152e26ef
Improved create-admin-user-login target.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741855 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 08:43:39 +00:00
Jacopo Cappellato
9fe2295f4b
Made Y/N answer to create new hot deploy component case insensitive.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741649 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 17:40:09 +00:00
Jacopo Cappellato
83ad2d2294
Ant target for the automatic creation of an ofbiz component in the hot-deploy folder.
...
ant create-component
You will be prompted for:
1) component name (e.g. "test")
2) component resource name (e.g. "Test")
3) webapp name (e.g. "testapp")
4) base permission (e.g. "TEST")
and the target will create the component in the hot-deploy folder.
Restart ofbiz and the new application will be up and running.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741605 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 16:04:05 +00:00
Jacques Le Roux
0d47781227
Even better, I wonder now about localisation of all those informations (Copyright, Powered by, Release, etc.)
...
For Copyright and Powered it's ok since it's in footer.ftl, but for the ant svninfo target, any ideas (an ant guru there) ?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741517 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 10:41:31 +00:00