Commit Graph
9 Commits
Author SHA1 Message Date
Bilgin Ismet Ibryam 41662b256b Added missing import statement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@688651 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 08:09:43 +00:00
Jacques Le Roux 51dc47bb13 Fix the anti-pattern
if (* != null && *.size() > 0) { 
where * is a variable name (String or Collection). Rewritten to
    if (UtilValidate.isNotEmpty(*)) {

Done with Eclipse regex replace feature with
search = if \((\w+) *!= *null *&& *(\w+)\.size\(\) *> *0\) *\{
replace = if (UtilValidate.isNotEmpty($1)) {

And of course some hand-work for imports and cleaning. I compiled and tested with ant run-tests

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@686591 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 07:47:18 +00:00
Adam Heath 5e00789519 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/specialpurpose@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Adam Heath f1ba2a8694 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/specialpurpose@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
Jacques Le Roux cccfdf34bf 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/specialpurpose@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
Jacques Le Roux 78e5c8774e Complete Revision 672822 for specialpurpose
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@675947 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 13:32:46 +00:00
Adam Heath f4db945fe7 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/specialpurpose@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
Scott Gray 3b51c293f5 Moved the workflow related data to the workflow component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@667499 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 12:22:12 +00:00
David E. Jones 29242ccc12 Finally deprecating the old workflow engine which hasnt been used in years; moving it to the specialpurpose directory and have pulled out the order task list stuff in the order manager that used to use it and though that stuff still exists the controller entries and such are in comments in the screen def file; also moved shark to the specialpurpose directory as it is also rarely used and is not used in any OFBiz applications as it requires LGPL libraries, among other issues that leave it short of complete
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@665981 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 04:53:52 +00:00