Commit Graph
62 Commits
Author SHA1 Message Date
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
Jacques Le Roux 67bbedb750 Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741516 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 10:36:49 +00:00
Jacques Le Roux cadb5144e2 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741514 13f79535-47bb-0310-9956-ffa450edef68 2009-02-06 10:33:22 +00:00
Jacopo Cappellato 7c088ad2e5 Fixed bug created during my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740261 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 09:49:01 +00:00
Jacopo Cappellato 31bbb31faa Formatting fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740246 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 08:45:23 +00:00
Jacopo Cappellato 03432be985 Improved create-admin-user-login target so that now it is also possible to run it by passing the login name as an argument (no prompt will appear).
You can now build a seed data only OFBiz with an admin account with the following line:

ant run-install-extseed create-admin-user-login -DuserLoginId=<ENTER USERNAME HERE>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740241 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 08:11:55 +00:00
Jacques Le Roux 19e987e0de To avoid any ambiguities in future
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739643 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 22:22:59 +00:00
Jacopo Cappellato 6a3860d196 Three new ant targets defined:
* run-install-readers to pass the comma separated list of data readers (IMO this task should be named "run-install" and the existing one should be renamed "run-install-demo")
* run-install-file to pass a file name to load data from
* create-admin-user-login that prompts for a user login, then creates it with admin privileges and a temporary password equal to 'ofbiz'

The last task is useful to build and setup a framework only distribution; the steps to get, build and run the OFBiz framework with seed data only are:
1) checkout OFBiz
2) remove the applications and specialpurpose folders
3) ant run-install-extseed
4) ant create-admin-user-login (and enter a user login id when prompted)
5) start ofbiz and login with the user login id created in step 4 (use the password 'ofbiz')
6) change the password when prompted


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739563 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 14:34:40 +00:00
Jacques Le Roux 572b7683e0 All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
Jacques Le Roux f4ebfd704c Fix an issue when running ant docs-all on Windows
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@706590 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 12:18:23 +00:00
Jacopo Cappellato 3738ebfdbb Updated JVM memory settings for all the various scripts to start OFBiz: initial memory 128M, max memory 512M.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@669890 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 13:35:44 +00:00
Jacopo Cappellato 2be4d94dc5 Improved the way failonerror was used for subtasks: now, it fails on errors happening in subtasks only if the specialpurpose and application folders are present.
If they are missing it doesn't fail on error.
Before this change you got a succesful build even if one component could not be built due to compile errors... and in fact now the build is broken even if no one could see this.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652466 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 09:54:35 +00:00
Jacques Le Roux 38d67402c7 Put comments in targets description attributes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@650664 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 21:29:14 +00:00
David E. Jones 8c274b9c24 Added comments to the different install targets to clarfiy their operation and purpose
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@650540 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 15:07:29 +00:00
Andrew Zeneski 53ff2fa1a7 added docs-all target (from Tim Ruppert)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@639881 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 22:05:19 +00:00
David E. Jones 03de3b4658 Added seed-initial to a couple of existing install targets where it makes sense, removed the initial specific target
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@633678 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 22:21:17 +00:00
Andrew Zeneski f5fb396d17 added run-install-extseed-initial target to install data including the new seed-initial
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@632941 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 05:32:05 +00:00
David E. Jones 232886451a Changed cache clean to be in its own target and called through clean-all; is more consistent with how other things are handled and doeher things are handled and doesn't break the semantics of the clean target, which is to remove built files ONLY
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594555 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 14:54:32 +00:00
Jacques Le Roux 8574116c26 Remove the utilcache file else POS shows errors, more a hack than a definitive solution
Used in clean task only


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594468 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 10:18:11 +00:00
Jacques Le Roux 202a7dc80c Reverted at David's demand
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594258 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 19:06:15 +00:00