Commit Graph
10 Commits
Author SHA1 Message Date
Gil Portenseigne 3130f0eb95 OFBIZ-7763 :
Remove all bsh libraries and bsh remaining fonctionnalities.
Bsh interpreter is replaced by GroovyShell evaluation.

To avoid groovyShell undefined var exception, the evaluated expression is analysed, detecting variables used and setting its to null if undefined in context.
Today only alphabetic variable with '_' are detected (i.e. my_variable==null).
Add in example a test replacement of " syntax to simple quote.
Remove all found bsh references

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752231 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 23:04:54 +00:00
Jacques Le Roux e47504ad05 Slightly improves APACHE2_HEADER to hide header rem comments when running batches
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746035 13f79535-47bb-0310-9956-ffa450edef68
2016-05-29 16:56:31 +00:00
Taher A. Alkhateeb f3e2a45ba0 add apache legal header for MS windows batch scripts
and also mention that the same header for Properties files
is also used for linux (or any unix) bash scripts


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746030 13f79535-47bb-0310-9956-ffa450edef68
2016-05-29 16:39:35 +00:00
David E. Jones 9d60a4a392 Small change to license header files to add Groovy and CSS to list of files for the header they correspond to
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764951 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 21:01:28 +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
David E. Jones 9af9f0ae75 Fixed APACHE2_HEADER according to new policy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499125 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 20:51:38 +00:00
David E. Jones 0193884e87 Changed APACHE2_HEADER file to reflect the new ASF policy of no copyright notices in the headers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498244 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 05:02:46 +00:00
David E. Jones e289f4642c Remove some unused files, that were also un-licensed; added license header to CSS files after verifying CLAs
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@450798 13f79535-47bb-0310-9956-ffa450edef68
2006-09-28 10:48:24 +00:00
David E. Jones 4950f08fb6 Removed Id keywords from the recommended headers, see ML discussion for background
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422029 13f79535-47bb-0310-9956-ffa450edef68
2006-07-14 20:30:30 +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