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
Jacques Le Roux
a5042291f7
1st part of an effort to remove trailing spaces
...
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Adam Heath
414e936980
Fix lines that *only* have whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759227 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:55:35 +00:00
Adam Heath
19a57dfd3d
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757080 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:25:18 +00:00
Jacques Le Roux
639a784790
while( => while (
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750998 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:38:03 +00:00
Jacques Le Roux
13a934f823
In spirit of Adam's r749341 and following http://java.sun.com/docs/codeconv/html/CodeConventions.doc7.html#489
...
The idea is also that a lot of code is duplicated and then changed (copy/paste). Hence having a rightly formatted code help to keep it rightly formatted
1st (simple) step : ){ => ) { (I checked all occurrences but of course other pairs of eyeballs are welcome)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750993 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:31:13 +00:00
Adam Heath
b25c52b9b4
Should be the last of the executable removes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749178 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 04:18:30 +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
Andrew Zeneski
d3c9f3f289
added ant script for jboss deployment
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689211 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 20:37:07 +00:00
Andrew Zeneski
a737f00366
forced path changes due to problems with FTL and backslashes on non un*x environments
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689198 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 20:15:01 +00:00
Adam Heath
e410552cc9
No longer *copy* the extra support files into the classes dir;
...
instead, just add them straight to the final jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Adam Heath
2617681b51
Remove svn:executable on a bunch of stuff.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684389 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 00:53:43 +00:00
Adam Heath
90426d4b6d
Split framework/base into framework/start; now all components have
...
exactly the same type of layout.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684377 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 23:38:36 +00:00
Adam Heath
b6a1ae5e5e
Another minor optimization; no longer need to specify classpathref in
...
all the build.xml files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
Jacques Le Roux
641ff10050
Update Copyright to 2008
...
A real replace in files feature was one of the reasons I use Eclipse 3.4 for near a year now (I even helped to test, a real must have :o)
Not sure previous commit was sent partially or not at all (I needed to update)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
Jacques Le Roux
ad2fb645a7
Some comments about Derby
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674572 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 18:06:45 +00:00
Adam Heath
18391f98a9
The build.xml files are now much smaller and simpler; they reuse a
...
few global definitions. 1585 lines removed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
Andrew Zeneski
2b891a9aae
updated jboss422 deployment configurations:
...
1. now setups up derby (in jboss)
2. configures entityengine.xml to use jboss datasource/tx manager
3. removed more conflicting libraries
4. no longer edits run.sh; adds OFBIZ_HOME to run.conf; now auto-installs config
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663736 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 21:02:33 +00:00
Andrew Zeneski
fe68a160d9
now excluding mx4j, commons-el and mail.jar since they are included w/ JBoss and causing conflicts
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663395 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 22:41:23 +00:00
Andrew Zeneski
a935abe496
added jboss 4.2.2 app server configuration
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661787 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 16:44:09 +00:00
Andrew Zeneski
9e17c4838a
added additional data to the dataMap; cleaned up imports
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661762 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 15:24:39 +00:00
Jacques Le Roux
9a687d6094
Suggest a workaround for RMI on Windows. More at https://issues.apache.org/jira/browse/GERONIMO-4037?focusedCommentId=12600300#action_12600300
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660877 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 09:31:25 +00:00
Jacques Le Roux
5c20ab0b7b
Comments about Security Manager and stopping when debugging
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658267 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 14:58:37 +00:00
Jacques Le Roux
a590e1e473
Ooops was already in
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652847 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 17:53:37 +00:00
Jacques Le Roux
0da72543f1
One more comment
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652811 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 16:48:17 +00:00
Jacques Le Roux
4973c9f293
This add the possiblity to run RMI services under WASCE or Geronimo.
...
There is only one small drawback : so far if you restart the OFBiz EAR from the console you loose the RMI Dispatcher. However stopping and starting (even after a restart) is OK. I guess it's the same for the commande redeploy, I will test tomorrow.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652177 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 22:35:32 +00:00
Jacques Le Roux
4ed2489eb8
If present GERONIMO_HOME env var is no longer overloaded by appserver.properties geronimoHome value (It was done the wrong side since env vars are platform dependent for sure and not properties)
...
Better handling of processes ends (added finally to try blocks)
Redeployment is now possible
General refactoring of GenerateContainer.java
POS related JARs are no longer put in geronimo repository
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@650946 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 17:31:16 +00:00
Jacques Le Roux
735cbe43b6
A patch from Ludovic Maître "Add support for running one instance of OfBiz under Tomcat" ( https://issues.apache.org/jira/browse/OFBIZ-1738 ) OFBIZ-1738
...
I did not test anything, I just added ASL headers to bat and sh scripts in the 55 branch and made a page in Wiki at http://docs.ofbiz.org/x/gR from the Ludovic's how to.
I did so for 2 main reasons :
1. I have no time to test thorougly, and I suppose that it works from Ludovic comments in Jira issue
2. It's harmless for the project, only people interested may encounter issues if any
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@649921 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 13:35:40 +00:00
Jacques Le Roux
6d1fe8637a
Prevent possibility to create a non existing geronimo_home directory.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@647391 13f79535-47bb-0310-9956-ffa450edef68
2008-04-12 07:40:37 +00:00
Jacques Le Roux
cf1bcbd3d8
. appserver.properties was missing in last commit
...
. 1st changes for a remote deployment tool
. better README file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@647299 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 20:19:07 +00:00
Jacques Le Roux
af63afe562
New version which automatically deploys in application server see https://cwiki.apache.org/confluence/x/IYBr for more informations
...
One base, one webapp, and the webtools web.xml files are slightly modified, nothing harmful anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@646349 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 13:51:39 +00:00
Jacques Le Roux
1f7ce3a730
A 1st operational version of a tool which allows running OFBiz under IBM Websphere Application Server Community Edition 2 (WASCE)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@643173 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 22:06:42 +00:00
Adam Heath
d6dcdaa553
Java 1.5 markup for framework/appserver.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586466 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:15:03 +00:00
Adam Heath
d73602df56
Add -Xlint:unchecked to several javac calls; they are all clean, so
...
no warnings are produced.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585858 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:19:48 +00:00
Adam Heath
d658971b5e
Remove use of ArrayList/HashMap, and use FastList/FastMap.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585794 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:28:37 +00:00
David E. Jones
fb4a0080b3
Fixed bugs in recently refactored FreeMarkerWorker: a Reader was always being created even if the template was cached, also the reader was never closed which means files stayed open until the garbage collector cleaned up these objects which on busy production systems could lead to many thousands of open files
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573442 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:01:25 +00:00
David E. Jones
07b48643c5
As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 15:55:18 +00:00
David E. Jones
7d70c41c12
Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
David E. Jones
92a0c2aab0
Fixed a couple of issues with the appserver template stuff, still does not seem to be getting the classpath entries though, and little tweaks like adding the cached class loader container did not help; somehow the component class path stuff isn't making it through
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526071 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 06:23:29 +00:00
Jacques Le Roux
dad67935f7
A (large) patch from Scott Gray "Update ASL header" ( https://issues.apache.org/jira/browse/OFBIZ-637 ).
...
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacques Le Roux
a5632fa086
This is hte change of ASL2 headers in java files only.
...
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:22:33 +00:00
David E. Jones
fc96cf5ab7
Changed all build files to add NOTICE and LICENSE files to the META-INF directory in each jar file that is created in OFBiz
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472422 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:23:23 +00:00
Jacopo Cappellato
8da346ed74
Maybe it's not strictly necessary, but I think it's however fine to add the license headers to these files too.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463908 13f79535-47bb-0310-9956-ffa450edef68
2006-10-14 10:13:25 +00:00
Jacopo Cappellato
77e9a99876
Removed author information from all the files of the "appserver" component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454163 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 15:46:35 +00:00
David E. Jones
df71c4dee8
Added AL2 header, these are templates I created based on the weblogic startup scripts which are meant for changing and reuse, including in this way
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451162 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 08:35:58 +00:00
Jacopo Cappellato
e6bccb21d7
Fixed typo.
...
Thanks to Andrew Sykes for the bug report (OFBIZ-553).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@437166 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 13:40:00 +00:00
Jacopo Cappellato
4e8c9f8963
Conversion from MIT to ASL2.0 for the files of the appserver component.
...
Many thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422419 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 09:33:12 +00:00
Jacopo Cappellato
09062cdc40
Conversion from MIT to ASL2.0 for the files of the appserver component.
...
Many thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422418 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 09:32:12 +00:00
David E. Jones
94fe6d1cda
Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00