Jacopo Cappellato
257f417108
Added a new 'runtime' folder, at the same level of 'applications', 'framework' etc..., where all the runtime data such as logs, derby db files and output (such as the pdf report files that can be created with the new service) are created.
...
Removed the logs and data folders from the framework folder.
Still need to be migrated to the new folder the catalina/work folder: I'm sorry but I don't know how to do this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522914 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 14:02:57 +00:00
David E. Jones
82547889be
Fixed extra equals sign type reported by Sebastien Schirmer, part of tomcat session rep config
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521871 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 19:04:58 +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
Andrew Zeneski
d7e7a60f60
created a simple string output stream; funny how java doesn't come with this!
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516635 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 01:35:20 +00:00
David E. Jones
761e6161bf
Added a bunch of stuff to do a pseudo converstion from objects to List and Set by creating a List or Set and putting the object in it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516321 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 07:46:51 +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
Alfred Maxwell Byers
54789c1eca
Added RenderContentTransform which does both content and subcontent rendering.
...
Linked to it in FreeMarkerWorker, but did not remove other transform defs.
This has not been tested - will be doing that now - just making available to other hackathoners.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516168 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 20:32:39 +00:00
David E. Jones
9dfc0f8847
Added isNotEmpty method for Object, alternative to patch proposed by Joe Eckard in Jira #OFBIZ-785
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515877 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 01:24:35 +00:00
Jacopo Cappellato
34d858166a
Applied (a slightly different) patch from Stefan Huehner (OFBIZ-537) to cleanup the code that creates a refNum for payment transactions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514204 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 17:55:44 +00:00
Andrew Zeneski
1956a2416d
added method to send file name to browser when streaming data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512946 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 20:18:16 +00:00
Andrew Zeneski
9e2bc7dcc9
fixed javadoc error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512865 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 17:37:16 +00:00
Jacopo Cappellato
d445d699d3
Small improvements to the way Long are transformed to Strings.
...
Thanks to Stefan Huehner for the patch OFBIZ-537
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511260 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 12:04:34 +00:00
Jacopo Cappellato
6b5c14ce92
Applied patch from Stefan Huehner (OFBIZ-511) to remove unnecessary casts.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511251 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 11:32:06 +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
Jacques Le Roux
ee910a9f25
Revert shark enabling changes commited by error with update of ASL2 headers
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499595 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 22:32:45 +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
David E. Jones
c50b44ea31
Based on patch from Chris Howe in Jira #OFBIZ-400, added some entries for primitive types and a few more of the common java.lang objects; note that this is different as it doesn't have the .class extensions or any of the .TYPE entries
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498921 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 05:08:46 +00:00
Jacques Le Roux
38327f3097
ASL2 header dynamically modified (actually all file which forces us to put ASL2 header programmatically)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497359 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 09:02:26 +00:00
Andrew Zeneski
1fb805def3
changed HashMap and ArrayList to FastMap and FastList
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497180 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 21:34:50 +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
David E. Jones
5a8cb3f4e9
Changed FreeMarkerWorker to remove entry named null from context before processing the template with it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496193 13f79535-47bb-0310-9956-ffa450edef68
2007-01-14 23:47:48 +00:00
Andrew Zeneski
431d34e3b7
added quick method to obtain an outputstream
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493931 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 03:48:23 +00:00
Andrew Zeneski
ba07042986
added ability to pase in OutputFormat object
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493930 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 03:46:14 +00:00
Jacques Le Roux
ac0979a9c5
A patch from Scott Gray "UtilCache - fileStore location incorrect" ( https://issues.apache.org/jira/browse/OFBIZ-590 ).
...
It was so obvious that in spite in framework I decided to commit it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@492418 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 06:05:44 +00:00
Si Chen
fd8fcc9134
OFBIZ-554: Include the sessionId in the request handler log messages. Includes a new method to get the sessionId from an HttpServletRequest, which returns "unknown" if no session is defined.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@491944 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 22:18:31 +00:00
Jacques Le Roux
72622be566
Fix exception on checkout with apostrophe in address. Adapted from a Ray Barlow's patch ( https://issues.apache.org/jira/browse/OFBIZ-248 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@491221 13f79535-47bb-0310-9956-ffa450edef68
2006-12-30 13:11:43 +00:00
David E. Jones
b83e151ce6
Added valve to support incoming HTTP requests from an SSL Accelerator that are not HTTPS/SSL requests, but that should be treated by the server as secure
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488748 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 18:08:59 +00:00
Jacopo Cappellato
b74959d3ac
Removed invalid log parameter: thanks to Danny Gaethofs for the bug report (OFBIZ-551).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488284 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 14:33:26 +00:00
Jacques Le Roux
a692142838
To resolve "Harcoded string to POS startupFile in GUIAPP component" ( https://issues.apache.org/jira/browse/OFBIZ-471 )
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487891 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 21:26:10 +00:00
David E. Jones
e9bdbf0d28
Re-applied the patch from Adam Heath in Jira #OFBIZ-401 to update BSF to the Apache version 2.4.0; with JPublish gone this should work much better now
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486518 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 06:58:02 +00:00
Jacques Le Roux
bd428bde64
A patch from Stefan Huehner "Code-Cleanup: new Boolean(true) -> Boolean.TRUE" ( https://issues.apache.org/jira/browse/OFBIZ-530 ).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484976 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:19:28 +00:00
Jacques Le Roux
084ff1b883
A patch from Stefan Huehner "Code-Cleanup: remove unncessary return at end of void function" ( https://issues.apache.org/jira/browse/OFBIZ-536 ).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484972 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 11:52:56 +00:00
Jacopo Cappellato
f34ed9cbc7
Minor code cleanups from Stefan Huehner (OFBIZ-537).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484971 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 11:29:27 +00:00
Jacopo Cappellato
37ebed9dad
Applied patch from Tim Ruppert (OFBIZ-539) to update path to ofbizssl.jks.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484962 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 10:20:45 +00:00
Jacopo Cappellato
4c2ba27630
Applied patch from Stefan Huehner (OFBIZ-514) to remove some unnecessary casts.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482260 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 17:41:14 +00:00
Jacopo Cappellato
b05f4a66a1
Major refactoring of the Apache FOP rendering engine: upgrade from .20.5 to .92
...
Special thanks to John Martin and Christian Geisert for this work: OFBIZ-311
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481558 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 13:37:24 +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
Jacopo Cappellato
16ffbf5809
Misc improvements to the Webtools log view screen:
...
- added a new log file appender that decorates the log messages with css; the content of this file is shown by the Webtools screen
- log messages containing ${...} notations are now supported
OFBIZ-361
Thanks to Chris Howe for most of this work.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481544 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 10:26:09 +00:00
Jacopo Cappellato
29f9c766a5
Upgraded Freemarker jar from 2.3.4 to 2.3.8 (downloaded from http://prdownloads.sourceforge.net/freemarker/freemarker-2.3.8.tar.gz ).
...
According to the new conventions, I've also renamed the jar file including the version number and updated the LICENSE and NOTICE files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481530 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 09:34:22 +00:00
Si Chen
2fb55ad7c8
UtilValidate.isEmail now has the default isEmail(string) method which accepts formats such as sichen@localhost and isEmail(string, requireDot) which requires formats like sichen@somewhere.com
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@478901 13f79535-47bb-0310-9956-ffa450edef68
2006-11-24 15:55:37 +00:00
David E. Jones
28c4824143
Applied reformatted patch from Jacques based on patch from Stephen Parry to escape spaces in classpath entries, which should resolve problem with jdk location on Windows; Jira #OFBIZ-486
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477801 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 18:24:27 +00:00
Hans Bakker
5524f51fa5
add a parammeter to be able to limit the maximum size of an incoming email message (set to 1Mb)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477691 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 14:51:49 +00:00
Jacques Le Roux
85c8823d60
Facilitates POS printers switches
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477640 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 11:59:10 +00:00
David E. Jones
64d21975bf
Created new specialpurpose directory for special purpose components that are based on the more general components under the applications directory, but reuse resources in order to create applications meant for a special purpose, or a particular type of user or task; also adjusted build files, component load files, etc
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476486 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 10:32:43 +00:00
Jacques Le Roux
44c7632634
A patch from Jean-Sébastien Hederer "Variable allocation without effect" ( https://issues.apache.org/jira/browse/OFBIZ-439 )
...
Thanks Jean-Sébastien
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473074 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 21:11:53 +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
David E. Jones
adaf003ee9
Removed jcl.dtd file for licensing reasons; there are publicly available web locations for this, but it's not in a standard location; fortunately this is somewhat infrequently used; I tested the jpos.xml file in my editor and it works fine this way
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472414 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 07:50:37 +00:00
David E. Jones
beea25ea9e
Fixed problem caused by updating and then reverting the BSF library, should now compile and such
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468954 13f79535-47bb-0310-9956-ffa450edef68
2006-10-29 18:59:12 +00:00
Jacques Le Roux
889d1579ea
Revert patch from Adam Heath "Upgrade bsf to something a bit more modern" ( https://issues.apache.org/jira/browse/OFBIZ-401 ) to IBM version because of a problem found by Jacopo (please see Jira issue)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468667 13f79535-47bb-0310-9956-ffa450edef68
2006-10-28 10:07:08 +00:00