Adam Heath
c5a5f8cad0
Fix using the shell script from a sub directory.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905182 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 05:48:09 +00:00
Hans Bakker
4e0cd750b9
first step in moving the java based api part of the ebay component into its own component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905169 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 02:04:21 +00:00
Adrian Crum
934712e75f
Revert my change to base component build.xml file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905129 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 21:51:38 +00:00
Adrian Crum
5cc09d78fc
Updated the ical4j library.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905128 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 21:48:22 +00:00
Adrian Crum
a1df25e132
Updated the commons-lang library.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905120 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 21:16:17 +00:00
Adrian Crum
93aea39578
Updated the commons-codec library.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905115 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 20:32:14 +00:00
Adrian Crum
c2ec08d31b
Added a unit test for StringUtil.java. I commented out the new webslinger tests which seem to fail every time.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905114 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 20:25:46 +00:00
Adam Heath
7fcec6d23b
First bit of real webslinger code. TTLObject is designed to save the
...
result of a single method call, so that it doesn't get called over and
over again. It's non-blocking in all cases, supports synchronous and
asynchronous update modes, and will even save thrown exceptions.
Nothing in ofbiz uses this yet; that will require rather extensive
testing and profiling, which is difficult until more of ofbiz actually
has full test coverage; there's no reason to fix any slowdowns now until
you know all code is actually correct.
Test coverage on TTLObject is almost completely full; there are some
missed branches on switch statements that use enum(there are google
discussions about this, it's just not possible to do). Some of the
configuration methods aren't covered either. However, all switch
branches *are* covered.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904987 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 06:34:35 +00:00
Adam Heath
d86c60c3ba
Add a helper method to test futures.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904986 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 06:27:41 +00:00
Adam Heath
9ef56b79aa
Delete cobertura.dat for each run, so that different runs don't overlap
...
each others line numbers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904985 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 06:26:57 +00:00
Adam Heath
1537d8c471
Fix running of junit on standalone tests, when multiple tests are being
...
run.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904984 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 06:26:22 +00:00
Adam Heath
0d5914ffc9
FileUtil.findXmlFiles will never return null; if an exception happens to
...
be thrown, then nothing after the catch will be run either. So, remove
the null checks.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904983 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 06:25:37 +00:00
Adam Heath
cf43138ac3
Fix closing of job list iterator if an exception happens.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904982 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 06:25:04 +00:00
Adrian Crum
9bff53f96f
Reverted an unintentional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904976 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 04:05:48 +00:00
Adrian Crum
cddeb581b9
Partially revert my last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904971 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 04:00:57 +00:00
Hans Bakker
baeb94be10
removed framework dependency on the commonext component introduced in 816083 and as reported in he mailinglist by Adrian
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904970 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 03:59:51 +00:00
Adrian Crum
988097907e
Based on advice from Adam Heath, made FlexibleMapAccessor and UelUtil methods syntactically correct. Methods that read Maps take read-only Map arguments, and methods that write Maps take writable Map arguments.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904962 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 03:24:58 +00:00
Hans Bakker
f1e62a6208
fix duplicate name in EbayProductStoreInventory
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904961 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 03:23:28 +00:00
Adrian Crum
b416829c08
Upgraded JUEL library to 2.2.1.
...
The UEL specification (JSR 245) has been updated. Object method invocations are now supported.
http://jcp.org/aboutJava/communityprocess/mrel/jsr245/index.html
The new JUEL library also supports method varargs, but keep in mind that it is a JUEL extension - not a part of JSR 245.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904937 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 00:38:59 +00:00
Jacques Le Roux
84c1ca9272
Fix an issue when using the layer lookup with a fieldLookup3 style lookup (ie a lookup which shows name but uses an Id underneath).
...
This last fix allows to use the layer lookup in any cases already covert by OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904922 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 00:09:53 +00:00
Adrian Crum
734f6068c7
Some changes to the UEL integration. While attempting to upgrade the JUEL library, some flaws in my original code were exposed. This commit fixes them. Also, I added some more unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904921 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 00:08:14 +00:00
Bruno Busco
28e96681b1
Added "create", "collapse-all" and "expand-all" classes to the pertinent button-bar buttontext links.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904740 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 09:07:46 +00:00
Bruno Busco
b1012136cd
Added "create", "search" and "website" classes to the pertinent button-bar buttontext links.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904739 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 09:02:57 +00:00
Bruno Busco
f654abcc21
Better Italian labels
...
A new more esplicit label for new product features
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904738 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 08:58:45 +00:00
Bruno Busco
d46461ef36
Merged multiple labels in one
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904735 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 08:49:59 +00:00
Adrian Crum
2ca08fd687
FlexibleStringExpander.java improvements and new unit tests. The main purpose of the change is to reduce the memory footprint of non-cached instances (more than 78,000 at this time).
...
Two small functional changes:
1. Elminated the deprecated "env." syntax support.
2. Added support for runtime expression nesting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904592 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 19:03:43 +00:00
Ashish Vijaywargiya
ce6fb91a08
Added colon(:), it would increase the readability for end user.
...
Patch from Bharat Soni.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904443 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:04:32 +00:00
Adam Heath
592cb808d2
Use MapContext, and dynamically create links to the includes files for
...
each accessor method. This fixes a memory leak, and allows for the
included file to be cleared from the cache and reread, without having to
clear all files that included it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904252 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 20:11:28 +00:00
Adam Heath
93d0182f49
Make all variables in ControllerConfig private, and add accessor
...
functions to them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904250 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 20:10:51 +00:00
Adam Heath
00e090f9cb
MapStack now extends MapContext.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904249 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 20:10:00 +00:00
Adam Heath
7873922c09
Add a map stack implementation that is not hard-coded to only take
...
string keys, and doesn't auto-add itself as 'context'.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904248 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 20:09:34 +00:00
Adam Heath
002e61fb9e
Add a new getPropertyNumber variant that takes a url.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904247 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 20:09:00 +00:00
Adam Heath
6ca4f896cd
Remove wrongly added debug stmts.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904246 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 20:08:30 +00:00
Andrew Zeneski
0f95b50cae
fixed problem with the multi-element lookup form not passing a valid javascript object to the lookup function
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904198 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 18:20:05 +00:00
Jacques Le Roux
bd6aac4194
I forgot to commit these images in r904047 (A patch from Sascha Rodekamp "UI upgrade, new lookups" ( https://issues.apache.org/jira/browse/OFBIZ-3374 ) - OFBIZ-3374)
...
Thanks Sascha for the reminder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904091 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 13:58:03 +00:00
Jacques Le Roux
4e78c6d974
A patch from Sascha Rodekamp "UI upgrade, new lookups" ( https://issues.apache.org/jira/browse/OFBIZ-3374 ) - OFBIZ-3374
...
It's not perfect, but hopefully this time I will not have to revert it. I think it's time to introduce it, to let everybody have an idea and test.
Anyway, it can't hurt as it's only used in the Form Widget Examples screen for now. To test: https://localhost:8443/example/control/FormWidgetExamples
I find that the positioning mechanism is only working with the bizznesstime theme (at list centering, the only case I tried with all themes). But it should not be a big deal to fix since it works already in one theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904047 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 11:57:12 +00:00
Jacopo Cappellato
5768d9ea8a
Commented out code that was attempting to remove QuantityBreak records after the deletion of a ShipmentEstimate. QuantityBreak shouldn't be automatically removed because they can represent ranges that are used in different contexts.
...
Based on comments from Abdullah Shaikh.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904020 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 09:52:23 +00:00
Hans Bakker
264b1a7305
Ebay API inventory functions
...
- function to reserve product in ofbiz inventory when posted on Ebay
- function load products and quantity to ebay store inventory
- Add new EnumerationType call EBAY_INV_RESERVE for reserve product from inventory
- help screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904006 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 09:13:30 +00:00
Adrian Crum
a7b9360a46
Fixed a demo data load error in manufacturing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903979 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 07:23:56 +00:00
Scott Gray
91b171f685
Removed auto-generated TODO comments (missed in my last commit)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903957 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 05:00:06 +00:00
Scott Gray
753286d071
Cleaned import statements
...
Removed auto-generated TODO comments
Suppressed some serialization warnings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903955 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 04:55:30 +00:00
Scott Gray
90c71a9650
Added birt to the Eclipse .classpath file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903954 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 04:45:46 +00:00
Scott Gray
1ad191b93c
Moved some workflow related test services out of common and into the workflow component.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903938 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 02:01:47 +00:00
Scott Gray
88032cfa42
Removed commented (4+ years) SimpleMethod captureAll
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903922 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 00:41:22 +00:00
Adam Heath
6465fa07a1
Remove one constructor, using a single one for both variants.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903810 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:57:05 +00:00
Adam Heath
6760492ff1
Since the only way to access the parsed services is thru static
...
helper methods, it means the only callers will be local to the current
thread. This then leads to not having to synchronize the parsing of the
xml data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903809 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:56:37 +00:00
Adam Heath
649c3dc24c
Remove unused private accessor methods.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903808 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:56:02 +00:00
Adam Heath
7468d7efca
Make all methods private, except for the static ones; since it isn't
...
possible to create an instance outside of this class, and the existing
static methods don't store the instance they create, the methods aren't
can't be used outside of this class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903807 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:55:19 +00:00
Adam Heath
34f7d2f14c
Make these constructors private; nothing is actually instantiating these
...
classes, except locally for reading purposes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903805 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:54:45 +00:00
Adam Heath
605c4e4087
Add a bunch more convertors.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903804 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:54:00 +00:00