Commit Graph
61 Commits
Author SHA1 Message Date
Adam Heath 18d0ceeaf9 Remove most docs targets, they are all the same anyways.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894031 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:28:48 +00:00
Adam Heath 1c269fc012 Convert all javadoc calls to use fileset instead of sourcepath; this
allows excludes to be processed correctly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:24:20 +00:00
Adam Heath 56dac0bf9e Add a classes target to common.xml, and switch most build.xml to use it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894024 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:16:56 +00:00
Adam Heath 47b0a876ed Switch all javac15 to javac16.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894022 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:12:04 +00:00
Jacques Le Roux fe340b0b19 Some other forgotten changes done by hand.
Note that in ofbizwebsite/data/OfbizData.xml there are a lot of old tinylinks...
It'd be a pity to have to rewrite them all or to lost them :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888587 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 21:54:04 +00:00
Jacques Le Roux 47c9613346 Some easy documentation (cwiki) links changes following r888510
I have found a way to fix tinylinks :D http://confluence.atlassian.com/pages/viewpage.action?pageId=162988142

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888559 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 20:23:23 +00:00
Jacques Le Roux 415aa0e064 A (slightly modified) patch from Bob Morley "Resolve java warnings exposed in Eclipse : framework - appserver" (https://issues.apache.org/jira/browse/OFBIZ-3101) - OFBIZ-3101
I just prefered to replace the @SuppressWarnings("unchecked") for GenerateContainer.getClasspath() by <?> (generics are not covariant), but it's actually a matter of taste.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833698 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 15:18:20 +00:00
Jacques Le Roux a5d0fa0c49 A patch from Vadiraj Deshpande "OFBiz deployment on Glassfish v2.1" (https://issues.apache.org/jira/browse/OFBIZ-2374) - OFBIZ-2374
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810581 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 15:53:50 +00:00
Scott Gray dec24b29f2 Sorry for the big commit, got a bit carried away.
Added override and deprecated annotations wherever they were missing
Removed the use of any deprecated classes/methods (except OutputFormat in UtilXml)
A few other random generics and misc. cleanups

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791212 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 10:01:19 +00:00
Jacques Le Roux 34cfcf2d60 Everybody agreed that it's simpler to use false than to explain ftrue...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783905 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 21:08:16 +00:00
Jacques Le Roux 058d6aed57 A patch from Ashish Vijaywargiya "Change Copyright Year" (https://issues.apache.org/jira/browse/OFBIZ-2346) - OFBIZ-2346
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Jacques Le Roux 0594f35d91 A patch from Tamer Sezgin "ij.ofbiz does not work" https://issues.apache.org/jira/browse/OFBIZ-2355 - OFBIZ-2355
+ update of Derby to 10.4.2.0

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768608 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 21:43:34 +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
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