Commit Graph
55 Commits
Author SHA1 Message Date
David E. Jones 092778a889 Jacopo was talking about removing these, and the (mostly silent...) consensus seems to be that there is no big problem with removing these; anyone that wants to use them would probably prefer downloading the latest version of the tools anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525679 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 01:48:56 +00:00
Jacopo Cappellato 53a3552a70 Added derby revision number as a suffix for the derby jar file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523970 13f79535-47bb-0310-9956-ffa450edef68
2007-03-30 07:08:29 +00:00
Andrew Zeneski 5cf149b79f fixed so loading data for just a specific component works without having to specify readers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523181 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 05:27:10 +00:00
David E. Jones 428ab6b0d3 Added a bit of code to put FALSE in an SQL where clause instead of an empty IN set when that is detected; not sure if this is the best way to go, but it should be close to what we want and avoid a database error as happens now; chose FALSE because even though a value in the db could either always or never match an empty set, the never match seems to make more sense because if you would normally select various values and select none, you would be excluding all, unless you consider selecting none to mean that you want to include everything...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522000 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 10:00:57 +00:00
Si Chen a7d812f630 Fix entity engine's upper function to allow searches for names with an apostrophe in them. From Leon Torres. OFBIZ-837
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521954 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 00:37:50 +00:00
Andrew Zeneski ec22d58cac implemented new data loading arguement -component to limit data loading to a single component (by name)
example:
java -jar ofbiz.jar -install -component=mycomponent -readers=seed,ext,demo



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520902 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 14:48:21 +00:00
Jacopo Cappellato a3d44a07db Applied slightly (different patch) from Stefan Huehner to fix wrong npe check. OFBIZ-776
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519589 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 10:52:21 +00:00
David E. Jones 679f708b29 Uncommented test-suite that I commented to make things faster to test
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516272 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 02:52:31 +00:00
David E. Jones b5a7493883 Cleanup of LocalDispatcher creation through the GenericDispatcher object; consolidates a bunch of code and hopefully simplifies a things; should also more permanently fix the weird problem we were having with the testing services a bit ago
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516271 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 02:45:55 +00:00
David E. Jones 4516bbe6dd Added simple-method-test to call a simple-method as a service, without a service definition; also includes some various fixes including one from Joe in Jira OFBIZ-791
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516253 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 01:28:43 +00:00
David E. Jones bf807aa5a0 Applied patch from Joe Eckard which implements the entity-xml-assert type of test and adds a small example test file for it that just validates against seed data; small change to reorganize, but mostly as-is
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515340 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 22:57:38 +00:00
David E. Jones ed67ae0bd7 Changed EntityDataAssert to throw exceptions so that calling method has more control over it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515285 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 20:27:36 +00:00
David E. Jones ff924a279a Changed a number of places to use File.toURI().toURL() instead of just File.toURL(); thanks to Andras Robert for his research and comments on this; looking at the Java API docs it looks like this basically just escaped the characters in the eventual URL
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505358 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 16:37:05 +00:00
David E. Jones 1c475ea873 Some cleanups, especially to show stack traces to make it easier to track down problems, like the autoconnect setting problem which is a no-no when there is a transaction in place, should now work properly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501220 13f79535-47bb-0310-9956-ffa450edef68
2007-01-29 23:02:01 +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 8d6f4b2fbd A patch from Sergey Shutov [#OFBIZ-552] Integration Shark 1.1_2 into OfBiz - ASF JIRA
https://issues.apache.org/jira/browse/OFBIZ-552

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498425 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 18:48:58 +00:00
Jacques Le Roux 64cea174fc This is the change of ASL2 headers in properties files only. Please see comments in another post in dev ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497074 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:49:01 +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
Andrew Zeneski 41b3456807 removed entity group org.ofbiz.odbc; can be replaced with the shipext package (available soon)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496784 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 17:26:20 +00:00
Jacques Le Roux eb82782d03 A patch from Stefan Huehner "Remove unused variables" (https://issues.apache.org/jira/browse/OFBIZ-525).
Issue is not closed : more patches to come

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483235 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 21:18:30 +00:00
Jacopo Cappellato 55bcc8af8f Applied patch from Stefan Huehner (OFBIZ-511), to remove some unnecessary casts where the source-type and the casted-to type are identical.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481546 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 10:45:01 +00:00
David E. Jones fef539252d Some improvements on error handling and message passing especially for failed commits when rollbackOnly is set; based on patch from Si Chen, but quite a bit different; from Jira #OFBIZ-503
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@480741 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 22:24:55 +00:00
David E. Jones 9d022772d0 Some formatting fixes in the code from Fabian Gorsler in Jira #OFBIZ-453
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476472 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 08:38:09 +00:00
David E. Jones 5db56d8d2c Applied patch from Fabian Gorsler to escape certain characters to avoid problems in the XML export/import; changed to not use the codePointAt method because it is only supported in Java 5; Jira #OFBIZ-453
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476469 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 08:30:52 +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
Si Chen f5874860f3 Fix bug in sequence value utility where it is actually using Integer instead of Long, so very large sequence values cannot be generated
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469283 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 21:47:28 +00:00
David E. Jones 9a50907566 Added option to condition-expr to ignore-case, makes things lots easier when you need something like that
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469046 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 02:45:34 +00:00
Jacopo Cappellato 137d158236 Cleaned up a few more author information from source files: thanks to Marco Risaliti for the patch (OFBIZ-410).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468371 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 13:24:29 +00:00
David E. Jones af97222863 Made change similar to that suggested by Ray Barlow in ASF Jira #OFBIZ-387, just used a more direct way of getting and displaying the entity name and field name
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@465622 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 13:35:58 +00:00
David E. Jones ab9962b6a8 I don't know why we were using .iterator().next(); for this, it's rather inefficient to create the iterator object to just get the first element when we can call get(0) just fine, especially when we are checking the size in each case beforehand; so, this is more efficient
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463812 13f79535-47bb-0310-9956-ffa450edef68
2006-10-13 20:32:37 +00:00
David E. Jones c1cf6a9c81 Updated Derby to version 10.2.1.6, seems to be working fine, even with data files created with earlier versions
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463660 13f79535-47bb-0310-9956-ffa450edef68
2006-10-13 12:15:42 +00:00
Jacopo Cappellato bf32f1f46d Applied patch from Marco Risaliti to removed some $id tags.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454293 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 06:02:40 +00:00
Jacopo Cappellato 01d100409a Removed author information from all the files of the "entity" 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@454156 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 15:25:15 +00:00
Jacopo Cappellato b79f8b95c5 Removed unused import statements from Java classes.
Patch from Peter Goron (OFBIZ-349).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@452088 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 15:50:00 +00:00
Jacopo Cappellato 0b461529b9 Added constructor to ComplexAliasMember class to avoid a build error.
I don't know if this is the best way to handle it but for now it is better than a complile error.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451963 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 10:44:47 +00:00
David E. Jones 2fb751a670 Applied patch from Leon Torres, with small change, to implement new default value feature for complex aliases in view entities; Apache Jira #OFBIZ-336
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451767 13f79535-47bb-0310-9956-ffa450edef68
2006-10-01 16:56:16 +00:00
David E. Jones 5bb6ce81af A couple small cleanups, showing a current location of warnings as the messages advertise
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451382 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 18:52:42 +00:00
Jacques Le Roux 4c9c8bd33c A patch from Cameron Smith : Entity Engine: entityengine.xml: Default MSSQL JDBC settings incorrect (http://issues.apache.org/jira/browse/OFBIZ-332)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451294 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 13:53:14 +00:00
David E. Jones d3f94c5aef Replaced all old references to [Copyright * The Open For Business Project] which should take care of all of the legal loose ends
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446798 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 00:35:48 +00:00
David E. Jones a4a9c26acb Applied changes from Karl Eilebrecht, plus some formatting changes done while reviewing it; old Jira OFBIZ-742; note no CLA needed as this inherets the already in place apache license
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442396 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 00:14:55 +00:00
Jacopo Cappellato 1b03b7e9dc License change from BSD to ASL2.0: this is an important commit since now the license switch is complete.
OFBiz is now licensed under the Apache Software License 2.0

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@439557 13f79535-47bb-0310-9956-ffa450edef68
2006-09-02 08:17:46 +00:00
David E. Jones 328b9943ba Whoops, set default to postgres in last commit; have changed back to derby where it should be out of svn
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431162 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 11:22:10 +00:00
David E. Jones b9c603e662 Added option to use binary type for blobs, configurable on the datasource element in entityengine.xml; this is mainly for Postgres and is necessary to use the BYTEA type for blob; I have tested this and it appears to be working fine; this should fix Undersun Jira #OFBIZ-334
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431161 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 11:19:12 +00:00
David E. Jones f34861df22 Small error message improvement when related entity is not found
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431010 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 10:44:52 +00:00
David E. Jones 5360305496 Implemented extend-entity for entity definitions to support adding field, relation and index elements to an entity; this is now also used to support further separation of the framework from the applications
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431009 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 10:36:00 +00:00
David E. Jones 879262571b Added example view-entity, including a complex-alias to test that; based on that in the Entity Engine fixed some stuff that is part of the caching code that was breaking things on startup; the conversion stuff that is part of the entity cache is now just disabled (and with a TODO in the code) for field aliases in a view entity that are complex aliases (ie made of multiple fields), to implement that more expression evaluation will have to be done
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430913 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 23:04:08 +00:00
David E. Jones 7f0bb66fdd Applied patch from Marco Risaliti, plus formatting correction and a name improvement to avoid confusion with a object variable; allows view entities to get i18n'ed labels from their member entities; Apache Jira #OFBIZ-129
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429250 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 06:26:49 +00:00
Si Chen 82562b62e1 OFBIZ-99: Fixed bug where EntityUtil.filterByDate() uses the wrong boundary condition. Thanks to Peter Goron.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424430 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 19:35:02 +00:00
David E. Jones 30d676aa67 Removed read-data elements from localderbyodbc datasource as they don't really apply to it
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424170 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 04:31:18 +00:00
Jacopo Cappellato dc64ffe8ea License change from MIT to ASL2.0 for misc files of framework components.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423902 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 11:36:57 +00:00