Commit Graph
228 Commits
Author SHA1 Message Date
Jacques Le Roux fe0ac6454e No functional change: comments out "docs-all" ant target since it's now done automatically by Buildbot at the ASF
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701914 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 07:14:40 +00:00
Jacques Le Roux ee37bb0e42 Removes build-website and docs targets, copy-dtds is enough
I did not remove copy-apis and other doc (API) related targets because they are used by Buildbot.

I should modify the Buildbot conf to automatically use the copy-dtds target, but that's for another insomnia night...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701157 13f79535-47bb-0310-9956-ffa450edef68
2015-09-04 04:40:09 +00:00
Jacopo Cappellato eb6d01b066 New implementation of the two-way cryptographic services of OFBiz based on Apache Shiro:
* two-way encryption is now delegated to Apache Shiro, with stronger initialization vectors
* the mechanism is backward compatible
* new tools to update the encryption of private keys, useful to upgrade older versions of OFBiz and most of all to replace old keys with new ones (this is critical to implement stronger security practices as requested by PCI) 
* unit tests



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684608 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 09:01:30 +00:00
Jacques Le Roux 3ecea0fd93 A patch from Pierre Smits "Move special purpose/jetty to attic" https://issues.apache.org/jira/browse/OFBIZ-6223
As per outcome of http://ofbiz.markmail.org/message/xoqjhbitdj5fi3bl remove special purpose/jetty from the trunk branch and add a notification to the attic document.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1674482 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 11:44:52 +00:00
Jacopo Cappellato a0c043a64d Updated ant target to use the new commons-codec jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672427 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 17:18:36 +00:00
Deepak Dixit b927941c0f OFBIZ-6195: Removed appserver entry from build.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668194 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 04:55:27 +00:00
Jacopo Cappellato ee209c08f6 Moved to the Attic the framework/sql component.
The framework/sql was an attempt to create a specialized SQL parser for the OFBiz entity engine. The idea was to use a standardized SQL string that the parser would convert to entity conditions and Delegator calls. So, you could use the same SQL string on any database. The component was never finished.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644469 13f79535-47bb-0310-9956-ffa450edef68
2014-12-10 16:24:48 +00:00
Ashish Vijaywargiya 9cc29f49fe Applied patch from jira issue - OFBIZ-5898 - Tenant should run with specified domain name. Front store should support multi tenant feature. Thanks so much Arun for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643510 13f79535-47bb-0310-9956-ffa450edef68
2014-12-06 09:22:23 +00:00
Jacques Le Roux f127f69f0f Creates the "revert-dev" ant target to quickly get rid of changes applied by build-dev locally or on a server https://issues.apache.org/jira/browse/OFBIZ-5886
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1641631 13f79535-47bb-0310-9956-ffa450edef68
2014-11-25 15:15:02 +00:00
Jacques Le Roux 682c9014a2 Fixes and completes r1640588 and more minor things which were left after the change from run-install to load-demo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1640727 13f79535-47bb-0310-9956-ffa450edef68
2014-11-20 12:18:59 +00:00
Jacques Le Roux d479d0d975 Improve the way build-AREA_NAME targets are used - https://issues.apache.org/jira/browse/OFBIZ-5880
Since the introduction of the build-dev target, a build-AREA_NAME (test, qa, production) should not chain the main build target. Because servers use the patch command and patches applied by the build-dev target are rejected and the process fails.

Of course this also means to change the scripts which are using build-AREA_NAME since now the main build is not chained, eg
from
./ant clean build-qa
to 
./ant clean build-qa build

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1640196 13f79535-47bb-0310-9956-ffa450edef68
2014-11-17 17:34:43 +00:00
Jacques Le Roux 05376298b4 Implements https://issues.apache.org/jira/browse/OFBIZ-5819 "Improve the build-dev ant target"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632421 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 19:35:32 +00:00
Jacques Le Roux 6dcfd3e157 Removes trailing blanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627929 13f79535-47bb-0310-9956-ffa450edef68
2014-09-27 07:41:18 +00:00
Jacques Le Roux 2935f03e6b The build-dev ant target now "needs a Subversion client installed" (better comment)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626687 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 08:04:45 +00:00
Jacques Le Roux fb52cbdaf6 No reasons to use forward slashes here
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626422 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 11:35:53 +00:00
Jacques Le Roux fac348be8d As suggested by Jacopo on dev ML, uses "svn patch" rather than patch.exe, much simpler and elegant, though needs an svn client installed, which seems a correct compromise.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626413 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 10:28:01 +00:00
Jacques Le Roux c656003bb3 Fixes a typo in previous commit, better indent and place of delete task
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626291 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 18:34:45 +00:00
Jacques Le Roux 52b84466c8 Commit for "Integrate ant build-dev target in build target" https://issues.apache.org/jira/browse/OFBIZ-5779
This completes the build-dev Ant target which was not yet called by the main build target, it's now done. This commit adds the todos.exe and patch.exe commands in the tools directory for patch to work on Windows w/o having to have it installed and in the path. todos.exe should not be needed in most cases, but better be safe than sorry.

It's a long time this was itching me. The main reason I did not do it already is I did not find an easy way to patch on Windows in Ant.

The documentation at https://cwiki.apache.org/confluence/display/OFBIZ/Addressing+Custom+Requirements+In+OFBiz has been updated

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626278 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 17:22:21 +00:00
Jacques Le Roux 85244180eb Finally keeps Release.revision date simple in footer as suggested by Scott on Dev ML
No needs to over-engineering things there. A bit more smart than before though
This reverts r1625006 and r1624886 and adds CommonBuiltOn and better svninfo and gitinfo targets
I just regret that I lose the formatting effort I did in footer.ftl files, but I have not the guts to do it again.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625907 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 07:46:14 +00:00
Jacques Le Roux ce7805dd45 Better way for deployed-date-time ant target, now deployed-on
Still in discussion in dev ML, notably if we should backport

Put back the CommonDepth label inadvertently removed, thanks to Scott's review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625006 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 12:08:08 +00:00
Jacques Le Roux ecfcd44d06 Adds deployed-date-time and clean-deployed-date-time targets. To set the date and time of last deployment info in the footer
Puts a check on svinfo and gitinfo (only used if it's a local copy)
Adds and uses CommonDeployedThe label in footer.ftl with the new deployed-date-time  target
Uses CommonPoweredBy in bizznesstime footer.ftl
Minor changes and formatting in the footer.ftl files
Better French label for CommonPoweredBy


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624886 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 17:56:34 +00:00
Jacques Le Roux 7b0fc305c9 Ant svninfo target adds now a date (in a raw format) after the Release.revision.
Nobody seems against and I have no idea on how to format the date there

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624278 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 13:10:02 +00:00
Jacopo Cappellato 9c292a15da Some minor changes for r.1605524: Updated build files to use/require Java 7
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612524 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 09:59:09 +00:00
Adam Heath 131a3d907c Fix breakage with the build, both buildbot and reported on the mailing
list; couldn't create ivy tasks.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1605151 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 18:45:07 +00:00
Jacques Le Roux 4e763b6bbf Fix a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1598972 13f79535-47bb-0310-9956-ffa450edef68
2014-06-01 12:10:46 +00:00
Jacques Le Roux 6acc26eac2 Adds the gitinfo and the clean-gitinfo (last one used in build target) targets
Uses the new runtime/gitinfo.ftl in footers (all themes) like is the runtime/ftlinfo.ftl one
Actually both are shown (if you have a mix of repos, like I do) or one or the other
Adds the runtime/gitinfo.ftl file in both .gitignore and svn ignore

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1597615 13f79535-47bb-0310-9956-ffa450edef68
2014-05-26 17:23:12 +00:00
Jacques Le Roux fd1178f4f3 As suggested by Jacopo on dev ML, don't delete some README files when using notably ant clean-all
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1582831 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 17:07:08 +00:00
Jacques Le Roux 9914c542ed This slipped in inadvertently (another one of my unnoticed C/P errors)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1580555 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 17:59:33 +00:00
Jacques Le Roux a0c05d0df9 Adds new ant targets to handled patching in projects which use different staging areas.
In create-component ant target at r1150560+1571994+r1571996 I added staging, qa and production sub-folders under patches folder.

The reason is to allow to put there patches for different staging areas where URLs and other parameters vary.
Then I did not add related ant targets to allow patching the corresponding OFBiz instances in the different staging areas servers.
Also I wrongly named the "test" area "staging".

Let me explain quickly how it supposed to work. You have:
1) A "dev" environment/area (most of the time on developers own machines) where the development is done, maybe using Derby DB for instance. Anyway an area where all production constraints are not yet taken into account.
2) A "test" area, something like the "dev" area but with a different environment (clustered, not the same DB, etc.) something not yet similar to production but near. Because most of the time you don't have yet a production area ready when you begin to test. This area remains in the hand of developpers. Load tests for instance can be done there.
3) A "QA" area, this comes later and is a duplicate of the production area where all tests are finally done. It's in the hand of QA engineers who qualify/guarantee the development to be production ready.
4) A "production" area, this is the latest stage available when the development is production ready (though it might appears before QA sometimes when the shareholders are in a hurry...). It's in the hand of sysops (or devops if you prefer).

So this patch adds the "build-test", "build-qa" and "build-production" targets in the main build.xml file. For the purpose of adapting the areas when building they calls the main build targets, but the build target does not depend on them, so can still be used w/o them. They complete the "create|apply|reapply|revert-ofbiz-patches" targets which target only the "dev" area or can be used in an early stage of the development, notably on dev machines.

Those targets depends on the "prepare-to-build-dev", "prepare-to-build-test", "prepare-to-build-qa" and "prepare-to-build-production" targets in common.xml. Themselves relying on the macro "apply-patches". 

The "prepare-to-build-qa|production" have something specific. When you maintain URLs and misc. parameters variation inside properties files, it's often easier to directly maintain those files and copy them over in those areas than maintaining/updating patches for them which can be a repetitive and tedious task...

Moreover, sometimes you don't even create any hot-deploy components (eg. some projects might use OFBiz as a web services API). Then currently you don't have an easy way to keep your OFBiz working copy free from modifications (which could else been put in one of your hot-deploy components patches directory, which is anyway not very logical). So I created another ant target "build-dev", it's purposely independent of any other target but relies on the content of a new runtime/patches folder where "core" patches (those which change OFBiz as it's OOTB)are supposed to be.

These changes add new possibilities but don't change the way things were done so far. So you can use them or not depending on your needs. The idea for the new "build-dev" ant target is to keep patches with features separated (ie grouping different files changed in a patch), but you can, or may have to, do it on a file level, notably when 2 or more features impact the same file...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1578621 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 21:56:45 +00:00
Jacques Le Roux 8860a9459d Fixes a bug introduced with r1574404 (forgot that shutdown and status historicaly have a prefixing dash), thanks to Youseek Khaye who spotted it and sent me a mail (the stop target was no longer working). I tested them only with a portoffset, my bad.
While working on this I spotted another error introduced earlier with r1533839. Now, status and stop work again as before. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1577744 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 22:20:34 +00:00
Jacques Le Roux 1e99cffcb1 Completes descriptions of ant targets which have portoffset parameter
Completes code in Config.java for start-debug only (adds "start-debug" to pick start.properties when portoffset is used). 
The rest of the changes is only refactoring to have the replacement to pick start.properties only in getInstance()

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1574404 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 09:46:26 +00:00
Jacques Le Roux ae2d3dedf3 Running OFBiz with start-batch, stopping it then or checking its status was missing, this completes these aspects.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1574201 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 21:02:13 +00:00
Jacques Le Roux df2b2d5381 qa is a better name here, I'm used to the German translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1571996 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 10:37:39 +00:00
Jacques Le Roux b39e278235 Between test and production you might have a QS stage (same than production but not real production). You can't always make silent deployments (also called dark launches) in production...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1571994 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 10:36:20 +00:00
Jacques Le Roux 3d6d7c2f42 Put a warning about the version automatically downloaded by Ivy for activemq, postgres and mySQL jdbc drivers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1563406 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 12:44:23 +00:00
Jacques Le Roux 23a736d5dd Adds a clean-uploads ant target, chains it with clean-all
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1559083 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 11:56:42 +00:00
Jacques Le Roux 59f9858d2a mysql was missing in clean-downloads target
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1556185 13f79535-47bb-0310-9956-ffa450edef68
2014-01-07 11:44:50 +00:00
Jacques Le Roux 9d44c95d72 Fixes a long time pending minor issue when deleting downloaded jar files in Windows (were not deleted). Using deleteonexit did the trick, also added verbose to see which downloaded jar files are deleted
So I uncommented the clean-downloads sub-target in the clean-all target
Also adds a description to clean-ivy


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1556174 13f79535-47bb-0310-9956-ffa450edef68
2014-01-07 10:40:17 +00:00
Jacques Le Roux 2a2d2922df A slightly modified patch from Pierre smits for
"include ivy clearcache in build" https://issues.apache.org/jira/browse/OFBIZ-5461
"build.xml includes both namespace for Apache Ivy and ivy-init target" https://issues.apache.org/jira/browse/OFBIZ-5462

jleroux: I added activemq (recently added) in the clean-downloads target



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1556166 13f79535-47bb-0310-9956-ffa450edef68
2014-01-07 09:56:12 +00:00
Jacques Le Roux f8cee923d9 Better target description
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555072 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 12:27:07 +00:00
Jacques Le Roux 85760cc7f3 A slightly modified patch from Pierre Smits for "Have Ivy download the activemq jar(s) for DCC" https://issues.apache.org/jira/browse/OFBIZ-5448
jleroux: I simply added a target description 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554974 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 00:04:13 +00:00
Jacques Le Roux 4c0b42b9d2 This completes "set different ports for testing in a CI environment (e.g. Jenkins)" https://issues.apache.org/jira/browse/OFBIZ-4794
This was waiting for a moment in my working copy after I found that there was an issue with testSOAPSimpleService when portoffset was used with run-tests target.
I have still no resolved this issue, but since I got a better way to run simultaneous Buildbot instances this is no longer an issue for run-tests target.
So I commit these small pending changes in order to allow to run Sonar on OFBiz https://issues.apache.org/jira/browse/INFRA-3590.
The cobertura target does not work yet but what's committed here is needed anyway to progress with INFRA-3590.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553962 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 23:09:01 +00:00
Jacques Le Roux cbe4b59e90 No functional changes
Adds a word about ant-tests: sometimes you need to clear your data before running 'load-demo'
Removes trailing blanks

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542261 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 13:27:16 +00:00
Jacques Le Roux c386f6ab30 Set different ports for testing in a CI environment (e.g. Jenkins) https://issues.apache.org/jira/browse/OFBIZ-4794
*What's for?*
Finally, OOTB the port offset is interesting in 2 cases:
# To eventually run Sonar on OFBiz sources https://issues.apache.org/jira/browse/INFRA-3590
# To simultaneously run the demos without having to change much things, just one parameter (this will need to have the same commited in R13.07... to be discussed...)

Of course, It can be used for other purposes outside of the ASF context...

*How it's done?*
Basically, I just added a portoffset integer parameter to 3 ant targets (of course this JVM param can also be used in a Java call from command line): start, start-pos, start-both,

The portoffset parameter is set to zero by default in ClassLoaderContainer.java. 
If a value is passed, it's then grabed by Config.java and passed to ClassLoaderContainer.java, where it's set to this value.

 The portoffset is then used to change in one shoot all the default ports values defined (in config or hardcoded), and the admin port value
This is done in following classes:
CatalinaContainer
NamingServiceContainer
ServiceEngine through ServiceLocation
RmiServiceContainer
XMLRPCClientEngine
XmlRpcTests

To avoid hardcoding locations in services definitions, I also created 2 service-locations: main-http and main-soap

*To summarize:* these changes will be used to run "ant start" with a portoffset value which will take care of all ports values, including admin port. For running R12.04 demo as stable we will still need to create a patch for the last time. R13.07 could have a similar patch applied since it's not yet released...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1533839 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 22:07:35 +00:00
Jacques Le Roux 0ef1ff543e Reverts revisions: 1525909 + 1526533 + 1526560, OFBIZ-4794 is not yet ready
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526583 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 15:44:40 +00:00
Jacques Le Roux 221ba4c06e Fixes <<Error to run "ant start-debug" >> https://issues.apache.org/jira/browse/OFBIZ-5329
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526560 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 15:16:57 +00:00
Jacques Le Roux c86a579cf8 Set different ports for testing in a CI environment (e.g. Jenkins) https://issues.apache.org/jira/browse/OFBIZ-4794
*What's for?*
OOTB the port offset is interesting in at least 3 cases:
# To simultaneously run tests on the same Buildbot machine. This is related to http://mail-archives.apache.org/mod_mbox/www-builds/201209.mbox/%3C002101cd991b$0a16de50$1e449af0$@16degrees.com.au%3E
# To simultaneously run the demos without having to change much things, just one parameter
# To eventually run Sonar on OFBiz sources https://issues.apache.org/jira/browse/INFRA-3590

*How it's done?*
Basically, I just added a portoffset integer parameter to some ant targets (of course this JVM param can also be used in a Java call from command line):
* in trunk and R13.07: start, start-batch, start-debug, start-pos, start-both, run-tests and run-test
* in R12.04 and R11.04: run-tests, run-test. I did not set start targets because anyway it would miss the admin port offset, withouh much changes. So can't be used to demonstrate. We will continue to use the current paches for those.

The portoffset parameter is set to zero by default in ClassLoaderContainer.java. 
If a value is passed, it's then grabed by Config.java and passed to ClassLoaderContainer.java, where it's set to this value.

 The portoffset is then used to change in one shoot all the default ports values defined (in config or hardcoded), and the admin port value in R13.07 and trunk.
This is done in following classes:
CatalinaContainer
NamingServiceContainer
ServiceEngine through ServiceLocation
RmiServiceContainer
XMLRPCClientEngine
XmlRpcTests

To avoid hardcoding locations in services definitions, I also had to create some service-locations: main-local-soap and main-remote-soap 

*What are the constraints?*
* For demos: the offset should not be applied to trunk because <service-location name="main-remote-soap" location="http://demo-trunk.ofbiz.apache.org:8080/webtools/control/SOAPService"/> is used for tests by trunk *and all releases*. It's useless to apply to trunk anyway,  offsetting port in releases is enough.
* I did not take into account the Ideal payment harcoded port values in IdealPaymentServiceTest.java. Weirdly I did not cross error during tests, though it seems there are tests using an harcoded port in url.

*What is the status?*
Locally (on Win XP)  I ran many tests combinations with <<ant load-demo run-tests>>.  
Applying the portoffset on a sole running test instance has no effects. I have still some fails (no errors) but those are not related to my changes, they appear also without.
But when I run a combination of any releases/trunk but with R11.04, I get a time out error with testSOAPSimpleService, that I can't explain so far. 
If I run the trunk alone with the portoffset no errors occur. Same if I run a release with portoffset and only testSOAPSimpleService in trunk (w/ or w/o portoffset)

*To summarize:* these changes will be used to run Buildot tests instances simultaneously . And, for coming releases, to run demos without having to create patches. Simply running ant start with a portoffset value which will take care of all ports values, including admin port. For running R12.04 demo as stable we will still need to create a patch for the last time.

*What I will to do for now:* commit the patches and test if I cross the same issue on Buildbot. If it's the same (99% chances it will) I will revert and will continue to locally try to find the reason . I believe this issue is unrelated to the changes I implemened.  And it's just because it's now possible to simultaneously run tests that it appears. 

BTW I just noticed that when you run R11.04 with R12.04, R12.04 takes almost all the CPU (XP is not very, while when running any combinations w/o R11.04 the CPU load is shared. 
Also there are far less tests in R11.04, which coul be the reason when I run it with another test run instance there are no issues.  Because R11.04 tests finish before the other instance gets to run testSOAPSimpleService.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1525909 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 14:47:30 +00:00
Christian Geisert 07728e0c67 target 'clean-search-indexes' should not fail when 'runtime/indexes' directory is missing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1521754 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 08:03:28 +00:00
Jacopo Cappellato 07934c65d3 Simplified the layout of the main/framework/applications/specialpurpose build files; now the files:
framework/build.xml
applications/build.xml
specialpurpose/build.xml

are only used to define the filelist properties (as before) with the list of components to be built.
The main build file simply refers to these lists to build/doc/clean OFBiz; as before, if applications' or specialpurpose's build.xml files are absent, the folders are ignored.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520744 13f79535-47bb-0310-9956-ffa450edef68
2013-09-07 09:27:59 +00:00
Jacopo Cappellato 60fdfcbfa8 First pass of the cleanup of Ant's targets defined in main build file and in build files for framework/applications/specialpurpose folders:
* removed redundant targets (e.g. clean-xtras)
* removed unused targets and settings
* moved runtime related targets from framework to main build file
* moved the search index runtime folder from runtime/data/indexes to runtime/indexes to prevent the removal of indexes when clean-data is executed



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520510 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 08:32:47 +00:00