Commit Graph
36 Commits
Author SHA1 Message Date
Adam Heath 695cc497f2 Fix coverage reports; the coverage for base was reporting 100%, which is
not correct.  With real numbers on base, it shows a lot of missing
lines.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965914 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:14:06 +00:00
Adam Heath 7ebbcfc4f1 Parallel execution of instrumentation, segmented by file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958277 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:41:02 +00:00
Adam Heath 7f37d0523a The static helper class now implements Callable<File>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958276 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:40:57 +00:00
Adam Heath b8b1bd7aba Refactored instrument() so that the main body of work is done by a
static helper class.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958275 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:40:51 +00:00
Adam Heath f2bfef6274 Create a main-jar macro.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935380 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:03:37 +00:00
Adam Heath f4d16eb03c Fix name property.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935374 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:03:07 +00:00
Jacopo Cappellato 75a3c9f270 Added a bunch of missing license headers; we'll have to pay more attention on this in the future.
Still some work needs to be done in order to have the codebase inline with the ASF policies as it used to be.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907413 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 11:24:45 +00:00
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 a412eb1898 Normalize javadoc windowtitle.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894026 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:19:10 +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
Adam Heath 7286ff8d28 Instrumentation with cobertura. It won't actually do anything, tho,
until cobertura-1.9.3.jar is placed into framework/base/lib.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889839 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 22:27:18 +00:00
Adam Heath 68e0788392 Generic instrumentation framework. Nothing is configured to use it yet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889838 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 22:26:24 +00:00
Jacques Le Roux c10003199d A patch from Harmeet Bedi "update required JDK constant to reflect JDK 1.6 requirement." (https://issues.apache.org/jira/browse/OFBIZ-3323) - OFBIZ-3323
Update gives a nice message instead of ugly stack trace when anyone attempts to run with JDK 1.5


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889124 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 07:34:03 +00:00
Jacques Le Roux f620e32bf9 A patch from Marc Morin "Resolve java warnings exposed in Eclipse : framework - start" (https://issues.apache.org/jira/browse/OFBIZ-3118) - OFBIZ-3118
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831807 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 07:01:41 +00:00
Jacques Le Roux 33ad7b2cc0 A bit of internal documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828804 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 18:10:35 +00:00
Jacques Le Roux e779dea4a9 Oops, forgot this unversioned files in previous commit (about -pos and -both)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828798 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 17:49:39 +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
David E. Jones 70f8da92bb Moved logo and icon images back to images component and removed from everywhere else; all references to these should be to there only now; fixes issue with logo in ecommerce and other little things
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766426 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 06:12:55 +00:00
Adam Heath 72802d2011 Move ofbiz.system.props handling from main() to init(); the former
calls the latter, but when this class is run underneath jsvc, main is
never called, only init().  So, the system properties were never
loaded.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766207 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 03:20:32 +00:00
Adam Heath d4e0796ef5 Add a feature for setting any system property by reading from a file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766193 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 01:07:54 +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
Adam Heath 4310a59989 Fix lines that *only* have whitespace.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759241 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:58:22 +00:00
Adam Heath 9069eca9d7 Fix purely empty whitespace lines, and remove trailing whitespace.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757045 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 22:45:20 +00:00
Jacques Le Roux fc6db9e886 if( => if (
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750997 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:36:09 +00:00
Adam Heath 867799286a Container that prints out the test cases that are available.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750089 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 18:02:07 +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
Adam Heath 23fd64c410 Remove the prepare targets, they are already defined in common.xml.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@711773 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 06:17:36 +00:00
Adam Heath 9b82e6539f Few small javadoc changes; no warnings!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709584 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 22:15:15 +00:00
Jacques Le Roux 1604296a90 There was a problem to stop on Linux using for instance ./stopofbiz.sh.
Ray suggested this change. 
I checked in history (Fisheye see line 582 http://fisheye6.atlassian.com/browse/ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java?r1=691771&r2=697866) and tested on Ubuntu 8.04 : works well.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@702489 13f79535-47bb-0310-9956-ffa450edef68
2008-10-07 14:15:21 +00:00
Adam Heath 0872dce61d No need to override default values.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@697867 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 15:18:53 +00:00
Adam Heath ee9b578672 Refactored a little bit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@697866 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 15:17:25 +00:00
Adam Heath 027d8de2f3 The defaults for several values were incorrect; if they weren't
specified in the properties file, then they would have the wrong
value.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@691771 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 21:03:35 +00:00
Andrew Zeneski dae87c2e67 appears the the <include> sub-element cannot contain a list, instead each one needs to be named. Changed so that the properties are included again.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686027 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 20:41:34 +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 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