Commit Graph
3468 Commits
Author SHA1 Message Date
Jacques Le Roux 38e9885d3d Fixes "a bunch of small leaks (closes missing, reported as warnings in Eclipse)" - https://issues.apache.org/jira/browse/OFBIZ-8115
At r1758927 I tried to fixe a bunch of closes missing, reported as warnings in Eclipse

Jacopo noticed and reported on dev ML http://markmail.org/message/b4hvzi7foftfq3j5 2 possible issues:
1) you are adding a close statement to code that already had the close statement in the "finally" block; your modification actually introduces a code pattern that is not correct (if an exception is thrown your close statement are not executed)
2) I suspect that you are closing the socket connection too early in PcChargeApi

1)The best option when closing resources (which implement AutoCloseable) is actually to use the try-with-resources statement. At least when there are no performance issues.
I have fixed the issue (only in DatabaseUtil.java) this way because
* there are not performance issues, we anyway create a Statement in both cases, we don't reuse one.
* The finally part is cleaner

I have also used the try-with-resources statement in other places where it fitted.

There is only 1 place where I was undecided: ScriptUtil.parseScript() which uses GroovyUtil.parseClass().
I put only a logError() there and returned null. 
I did not throw an IOException because else it spreads everywhere in FlexibleStringExpander.
Here introducing Optional would be better, but I have no time or that today.

2) was not a problem


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758951 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 13:18:35 +00:00
Jacques Le Roux dabe53062b A patch from Pierre Smits for "Maximise the utilisation of the Label CommonStatus in various ecommerce forms" https://issues.apache.org/jira/browse/OFBIZ-8102
There are forms in the ecommerce component referencing the status. This issue is about applying the CommonLabel label where it is possible in these forms.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758774 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 13:34:17 +00:00
Jacques Le Roux 0e12d84bd0 Fixes a typo introduced with r1758702
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758738 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 09:00:48 +00:00
Jacques Le Roux d93ce24474 A modified patch from Pierre Smits for "Remove legal statement from existing readme files" https://issues.apache.org/jira/browse/OFBIZ-8085
After commit, please rename readme files of components
manufacturing
assetmaint
birt
ecommerce
lucene
myportal
passport
projectmgr
scrum
solr

jleroux: Due to content I guess Pierre meant to add the .md suffix
I have also removed the useless ASL2 header of example/lib/README file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758702 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 05:11:45 +00:00
Jacques Le Roux b9b162e9d8 A modified patch from Pierre Smits for "Remove legal statement from existing readme files" https://issues.apache.org/jira/browse/OFBIZ-8085
Legal statements are not required in readme files, as per consensus in dev mail thread with title 'Shorter ASL2 header in short files'. The mail thread started here: http://ofbiz.markmail.org/message/pc5bzrsiupef7xjt

jleroux: 
I modified 
  the accounting/lib/README file
  the example/lib/README file
Formatted the Birt README file



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758700 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 04:53:40 +00:00
Pranay Pandey 8dd9964d31 [OFBIZ-7311] - Applied the patch from the ticket. Removing the unused references of the maincss.css from source code, following is done-
1) Removed 'maincss.css' entry from 'allowedPaths' param of from web.xml
Reason: Since, there is no file like 'maincss.css' exist under any includes directory. 
2) Removed the unused references of maincss.css from FTLs, code
<link rel="stylesheet" href="${StringUtil.wrapString(baseUrl!)}/images/maincss.css" type="text/css"/> 
has been removed.
Reason: This is an interesting thing, these FTLs were using the maincss.css located under the images directory.
When I look the history of these files, following were my findings,
The 'maincss.css' file under the 'images' directory exist in release4.0 
http://svn.apache.org/repos/asf/ofbiz/branches/release4.0/framework/images/webapp/images/
after this release, this files no longer exist there.
3) Also, I have updated one file 'InventoryNoticeEmail.ftl' and used the basic HTML code to style, instead of using style defined in 'maincss.css' which were exist in release-4.0
4) Updated some references from 'maincss.css' to style.css in comments.
5) Also removed the entry of including '/images/maincss.css' and '/images/mainrtl.css' in SimpleDecorator
Since, these files no longer exist after release-4.0.

Thanks Wai for reviewing the work and thanks Swapnil M Mane for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758389 13f79535-47bb-0310-9956-ffa450edef68
2016-08-30 13:37:27 +00:00
Jacques Le Roux 4dd5da1286 A patch from Florian Montalbano for "Allow Gantt function to compute task with non-numerical ID" https://issues.apache.org/jira/browse/OFBIZ-7971
The Gantt diagram is not generated when at least one of the taks composing it has a non-numerical workEffortId (e.g. A10001).
When importing data or using duplication of workEffort, you can use such id.

How to reproduce :
- Check the Gantt diagram, it should be working fine : https://localhost:8443/projectmgr/control/ganttChart?projectId=9100 

- Create a task with a non-numerical id for the project 9100 or iImport this entry :
<entity-engine-xml>
<WorkEffort workEffortId="A1000" sequenceNum="1" workEffortTypeId="TASK" currentStatusId="PTS_CREATED" lastStatusUpdate="2007-12-14 16:45:21.831" workEffortParentId="9101" scopeEnumId="WES_PRIVATE" workEffortName="ProblemTask" estimatedStartDate="2007-12-03 00:00:00.0" estimatedCompletionDate="2007-12-05 00:00:00.0" revisionNumber="1"/>
</entity-engine-xml>

- Check the Gantt diagram again and now it's failing : https://localhost:8443/projectmgr/control/ganttChart?projectId=9100
(there is an error in the javascript console)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758101 13f79535-47bb-0310-9956-ffa450edef68
2016-08-28 10:17:04 +00:00
Jacques Le Roux c6a11f76fc Removes obsolete information, LICENSE file: jars have no longer paths files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758088 13f79535-47bb-0310-9956-ffa450edef68
2016-08-28 04:45:05 +00:00
Jacques Le Roux 6f9961a3fa A patch from Pierre Smits for "Improve Dutch labels for projectmgr component" https://issues.apache.org/jira/browse/OFBIZ-8010
jleroux: I let Hans double-check for the vocabulary


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758063 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 18:25:44 +00:00
Deepak Dixit c2f99849f5 (OFBIZ-7833) Applied patch from jira issue
================================
Redundant options at select filter on find screens
================================
Thanks Deepak N and Renuka for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758032 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 13:43:34 +00:00
Deepak Dixit 974bcd10fd (OFBIZ-7674) Applied patch from jira issue
================================
Unable to perform search at "eBay Orders Import" screen of eBay component
================================
Thanks Pawan for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758017 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 12:47:40 +00:00
Arun Patidar 3029e63aba Applied patch from jira issue - OFBIZ-7915 - Enforce noninstantiability to CategoryUtil class. Thanks Rishi Solanki and Pratik Kulshreshth for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757984 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 10:36:36 +00:00
Arun Patidar c1a420b5ea Applied patch from jira issue - OFBIZ-7914 - Enforce noninstantiability to ProductUtil class. Thanks Rishi Solanki and Pratik Kulshreshth for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757983 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 10:25:23 +00:00
Arun Patidar 4312aeedb3 Applied patch from jira issue - OFBIZ-7912 - Enforce noninstantiability to ServiceUtil class. Thanks Rishi Solanki and Pratik Kulshreshth for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757979 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 09:45:23 +00:00
Deepak Dixit 14c839bd78 (OFBIZ-7625) Added file missing in last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757961 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 07:47:32 +00:00
Deepak Dixit e7ed7ac8f4 (OFBIZ-7625) Applied patch from jira issue
===================================
Add "changeByUserLoginId" field for ExampleStatus
===================================
Thanks Nameet and Renuka for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757960 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 07:42:02 +00:00
Mridul Pathak a4a475ce39 [OFBIZ-7981] Index.jsp is missing for BI component. Thanks Vishal Chhabria for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757957 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 07:19:35 +00:00
Jacques Le Roux bf11c01929 A 1st step for "Upgrade Tomcat to 8.5.3 (or 8.0.36)" - https://issues.apache.org/jira/browse/OFBIZ-7348
This is a security issue which was pending for too long. It only updates Tomcat to 8.0.36 because I got issues with 8.5.3 when just changing to 8.0.36 in build.gradle files worked.

I also changed the version number in LICENSE, even if some libs are only downloaded by Gradle as dependencies of the main present in build.gradle, this is a WIP.

I have investigated if we really need to have all the external jar libs in LICENSE even if we don't deliver them in 1st place, but are still used when building, see http://markmail.org/message/emnu6s5wu2yuyith


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757318 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 07:35:32 +00:00
Arun Patidar 46464d87fc Applied patch from jira issue - OFBIZ-7946 - Data load error on Web Pos component due to removal of POS component. Thanks Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755393 13f79535-47bb-0310-9956-ffa450edef68
2016-08-06 12:04:33 +00:00
Jacques Le Roux ef7996c983 Fixes "Remove warnings regarding missing component lib folders" - https://issues.apache.org/jira/browse/OFBIZ-7776 - by cleaning/clearing the references to non existent/empty dirs.
Notes: 
* Also removes empty framework/base/lib/scripting and useless applications\content\lib\uno\README (miss doc in wiki)
* When jpim-0.1.jar will be (hopefully) replaced we can drop lib ref in framework/base/ofbiz-component.xml
* I wonder if we should let the geronimo component alone with only 2 classes, could we not put that in entity or entityext?
 
    



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755306 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:27:21 +00:00
Mridul Pathak d038eb6bc1 [OFBIZ-7902] Remove system generated fields from data files of ecommerce component. Thanks Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755304 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:08:28 +00:00
Mridul Pathak e312c80c55 [OFBIZ-7905] Remove system generated fields from data files of Scrum component. Thanks Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755303 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:07:35 +00:00
Jacques Le Roux 7a15b5b651 Reverts r1752863, once again I applied a patch when moving SeoConfig.xml to e-commerce for OFBIZ-6125. I should have moved the file myself locally and committed directly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755032 13f79535-47bb-0310-9956-ffa450edef68
2016-08-03 07:30:35 +00:00
Jacques Le Roux 92fc0c5aae A patch from Florian Montalbano for "Improve the Marketing Demo data" https://issues.apache.org/jira/browse/OFBIZ-7923
In the following issue : OFBIZ-7922, there was a problem with the pagination of the Marketing Campaign list. Because there is not enough data in the demo, it was more difficult to find this bug.
To help the testing of this component, this adds some Marketing Campaign in the demo data (at least enough to unlock a second page of search).

jleroux: Actually you don't even have to add more data. The size of the list is defined by this property in widget.properties

# Default number of items to be displayed per page in a list form
widget.form.defaultViewSize=20

Locally you can change that by hand, clear caches, et voilà. 

Now if we would like to have the same on demos we would need to have this property in the DB and use EntityUtilProperties.getPropertyNumber() to retrieve where it's done at the moment. Unfortunately EntityUtilProperties.getPropertyNumber() simply uses for the moment UtilProperties.getPropertyNumber() so it means more work than adding those data. But once done, it's for all (though you would still have to replace the calls where UtilProperties is used instead of EntityUtilProperties. I don't remember if we have an umbrella task ans subtasks for that. It seems though a long term work, because we have much properties likely to benefit from this possibility.

Another KISS option: maybe simply testing locally is sufficient ;)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754657 13f79535-47bb-0310-9956-ffa450edef68
2016-07-31 12:18:16 +00:00
Jacques Le Roux 5f443d6c7c An improving patch from Florian Montalbano for "Scrum find Total Backlog Item is not working in non-English language" https://issues.apache.org/jira/browse/OFBIZ-7929
I put it all in this new version of the patch :
    Changed UtilValidate test to Groovy Truth test on string
    Changed the big first test by a test on "noConditionFind"
    Added some comments
    Harmonization of the "if tests"
    Removed the uiLabelMap.CommonAny in the file (the two others belonged to another form --> "FindTotalBacklog")
    Added a "noConditionFind" field to this form --> "FindTotalBacklog"

jleroux: I removed all remaining tabs in FindProductBacklogItem.groovy

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754656 13f79535-47bb-0310-9956-ffa450edef68
2016-07-31 12:13:03 +00:00
Taher A. Alkhateeb 5f5db1f78a Fix and improve the library dependencies in Gradle - OFBIZ-7534
- Convert many compile dependencies to runtime dependencies in Gradle
- Move dependencies from framework to specialpurpose 
  (only one in example component)
- put a comment above dependencies which we think should be removed
  completely subject to further testing and confirmation from the
  community.

After investigating the libs we realized that most of the dependencies
in OFBiz are runtime rather than compile time. Furthermore, we also
suspect that many of the runtime dependencies are not needed, however
further testing is needed before we can confirm and remove them from
build.gradle


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754640 13f79535-47bb-0310-9956-ffa450edef68
2016-07-31 08:54:26 +00:00
Jacques Le Roux 14ee0e02c6 Removes system generated fields - POS - https://issues.apache.org/jira/browse/OFBIZ-7908
Thanks to Suraj Khurana and Scott for suggestion about POS to webPos

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754611 13f79535-47bb-0310-9956-ffa450edef68
2016-07-30 09:37:22 +00:00
Jacques Le Roux 69339a1a86 After removing the POS at r1754402, I tried the webPos and found that it missed the terminal data. As I suspected it was due to POS data and data model which were used by the webPos. For now I decided to add them all in webpos. We will see later which parts we can safely remove.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754432 13f79535-47bb-0310-9956-ffa450edef68
2016-07-28 16:36:25 +00:00
Jacques Le Roux 7ada24fd04 This removes the pos component. OFBIZ-7804 "Check if we should fix or remove the POS (hence WebPos?)"
Most is done already. Test pass but testFopMacroLibrary but I don't see how it could be related to these changes, could be a quirk on Windows, BuilBot will tell us. Anyway, I will later double-check to be sure, also to see if I did not miss anything else.

I have voluntarily left 2 or 3 moot points
I was unable to remove possible POS references in <property key="FieldDescription.ProductStore.isImmediatelyFulfilled"> for certain language I'm unable to read.
I have to check if we should keep or not this code snippet
                <!-- if inventory info is not available for all of the products, then don't do the issuance, ie there has to be at least SOME inventory info in the database to facilitate inventory-less POS terminals -->
                <entity-count entity-name="InventoryItem" count-field="iiCount">
                    <condition-expr field-name="facilityId" operator="equals" from-field="orderHeader.originFacilityId"/>
                </entity-count>
I simply commented out twice this snippet in InvoiceServices.java, because I wonder if it would not be useful when the webPos will be able to issue money change
//                if (null == adj.get("amount")) { // JLR 17/4/7 : fix a bug coming from POS in case of use of a discount (on item(s) or sale, sale here) and a cash amount higher than total (hence issuing change)
//                    continue;
//                }

While at it, since I modified OPTIONAL_LIBRARIES, I also changed these svn:properties: svn:eol-style = native & svn:mime-type = text/plain


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754402 13f79535-47bb-0310-9956-ffa450edef68
2016-07-28 12:27:20 +00:00
Jacques Le Roux ac42dd6653 A patch from Florian Montalbano for "Scrum find Total Backlog Item is not working in non-English language" https://issues.apache.org/jira/browse/OFBIZ-7929
The Find form for Product Backlog Item does not work in language other than English when no "statusId" or "custRequestTypeId" are selected.

Step to reproduce :
- Go to the Scrum component and select a product
- Go to the "Total Backlog" tab
or use this link : https://localhost:8443/scrum/control/ViewTotalBacklog?productId=DEMO-PRODUCT-1

- Hit the search button, the find action is performed and return a non-empty list.
- Set your language preference to a non english language (french for example). 
- Click again on the "Total Backlog" tab, and hit the  "Rechercher" button.
- No results are found.

Where does the problem come from ?
The results displayed are from a list named "backlogList" which is built in the following script : FindProductBacklogItem.groovy .
In this script, there were a check on the parameter "custRequestTypeId" and on the parameter "statusId".
But the value was hardcoded :

if("Any".equals(parameters.custRequestTypeId))
and
if(!"Any".equals(parameters.statusId))

Obviously, when the form is in another language than English, those conditions aren't valid anymore (for example, "Any" is "Don't" in French")

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754051 13f79535-47bb-0310-9956-ffa450edef68
2016-07-25 21:38:11 +00:00
Taher A. Alkhateeb 6789ca1ffe replace the single library in LDAP component with remote - OFBIZ-7534
Another library replaced with remote. I was not able to get the exact
same version so instead of 3.3 I bumped it into 3.3.5. However, code
compiles and all tests pass


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753944 13f79535-47bb-0310-9956-ffa450edef68
2016-07-24 16:02:00 +00:00
Taher A. Alkhateeb 06377a4b64 simplify the dependencies for the Solr component - OFBIZ-7534
It is not needed to declare all the dependencies explicitly becuase
all of them are automatically downloaded with the package:
'org.apache.solr:solr-core:5.3.1'
Hence, this makes the build script much shorter and cleaner


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753887 13f79535-47bb-0310-9956-ffa450edef68
2016-07-24 08:08:42 +00:00
Taher A. Alkhateeb e013d6ffcf Migrate the BIRT component fully to remote libs - OFBIZ-7534
This commit fully moves BIRT to remote libs. After a lot of
investigation we realized there were two offending dependencies
that prevented BIRT from working (Derby, and a PDF dependency).
Once these two dependencies were excluded BIRT successfully
compiled and all tests ran. I did some further manual testing
of BIRT and all HTML and PDF reports seem to render correctly.

This resolves what I consider the most difficult component
to migrate to remote libs.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753886 13f79535-47bb-0310-9956-ffa450edef68
2016-07-24 07:25:13 +00:00
Nicolas Malin fb09dd715a Create demo PartyStatus data for existing parties for special purpose component, thanks to Suraj Khurana for the submission through OFBIZ-7672
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753795 13f79535-47bb-0310-9956-ffa450edef68
2016-07-22 14:10:14 +00:00
Pranay Pandey f77d94bca9 [OFBIZ-7865] No functional change. Corrected formatting of Example component ftl files for improved readability.
Thanks Vaibhav Jain for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752964 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 14:02:45 +00:00
Pranay Pandey 873f13fff2 [OFBIZ-7712] Fixed broken screen on 'Go Back' from edit contact mech screen of scrum component.
Thanks Aditi Patidar for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752956 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 13:16:43 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Mridul Pathak 6a1998d7ff [OFBIZ-7829] hhfacility: remove unused imports from Groovy files. Thanks Ankit Joshi for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752905 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 07:14:07 +00:00
Deepak Dixit 1db94eeaee (OFBIZ-1319) Replace selectall.js occurance with OfbizUtil.js.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752900 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:46:24 +00:00
Mridul Pathak 93a470fcf6 [OFBIZ-7525] UiLabels missing on Examples PDF. Thanks Ankit Joshi for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752896 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:37:45 +00:00
Mridul Pathak 26fe97b028 [OFBIZ-7700] Fixed file not found exception in export to ebay. Thanks Ankit Joshi for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752892 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:09:40 +00:00
Jacques Le Roux ae9935c633 A patch from Pierre Smits for "Move SeoConfig.xml to e-commerce" https://issues.apache.org/jira/browse/OFBIZ-6125
Currently the configuration file (SeoConfig.xml) is incorporated in the product component. However this is more related to how the e-commerce operates than to the functions in the backend catalog and warehousing applications. 
The file should therefore be moved to its appropriate place.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752863 13f79535-47bb-0310-9956-ffa450edef68
2016-07-15 18:26:44 +00:00
Jacques Le Roux 1dd4807be7 A patch from Pierre Smits for "Rename search.properties in special purpose/lucene to lucene.properties" https://issues.apache.org/jira/browse/OFBIZ-6224
Currently many properties files in various components are named after the component, i.e. the bi component has bi.properties.
In order to have consistency from component to component the search.properties file in the special purpose/lucene component must be renamed to lucene.properties and all references in components should reflect the change.

jleroux: I had to handle the src path change

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752842 13f79535-47bb-0310-9956-ffa450edef68
2016-07-15 15:31:14 +00:00
Taher A. Alkhateeb b37ef2d280 Migrate ALL java files from /src to /src/main/java - OFBIZ-7790
This is the first of two steps in the above mentioned JIRA. This
first step changes the java source directory for every component
from /src to /src/main/java. The next step will be adding unit
tests to every component in /src/test/java

Thank you to Deepak Dixit for tips on how to use the SVN commands
to make the appropriate file moving.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752838 13f79535-47bb-0310-9956-ffa450edef68
2016-07-15 14:17:14 +00:00
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 &quot; 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
Taher A. Alkhateeb 4d2b415a91 Another major patch for OFBIZ-7534 replacing Ant with Gradle
This is the first patch that takes OFBiz to the point of no return
in terms of switching from Ant to Gradle build system. Specifically
this patch applies the following items:

- Delete all old Ant and Maven build scripts
- Delete 169 Jar libraries and replace them with remote ones in the
  gradle build script
- update the gradle build scripts for the dependencies and other minor
  changes needed for the script work correctly

All tests pass with the command ./gradlew cleanAll loadDefault testIntegration

Again, thank you for everyone who contributed valueble time and effort in this
process.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752033 13f79535-47bb-0310-9956-ffa450edef68
2016-07-09 18:10:19 +00:00
Jacopo Cappellato f6ab874a61 OFBIZ-7765 converted Minilang code that was using the deprecated "call-bsh" element to use the "script" element with Groovy. Thanks to Deepak Dixit for the work and the patch and to Nicolas Malin for the review and imporvement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751945 13f79535-47bb-0310-9956-ffa450edef68
2016-07-08 17:37:36 +00:00
Jacopo Cappellato e0da901504 OFBIZ-7760 Removed from UtilCache the ability to persist entries in the file system.
This feature has been contributed a long time ago as an experimental feature but never really matured into a production ready artifact: since it was contributed, no users asked about how to use it, or tested it, or reported bugs or enhancement requests.
More importantly, the feature has always been disabled in the OFBiz framework (i.e. the widget code and the entity engine code were not using it).
This removal should not impact our user base; however, after the removal, an entry to the Attic will be created to keep track of it and to make it easier, to interested users, to get this code, improve it (e.g. by making it dependent on a live external jar, for example MapDB instead of JDBM) and possibly contribute it back to the project.
The most compelling reason for its removal is that the feature was based on a snapshot, unreleased version of JDBM, which is now a mostly dead project: for licensing reasons we are no more allowed to bundle jars in our releases. Additionally, having code that relies an old jar from a no more active project represents a maintenance issue for the community.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751817 13f79535-47bb-0310-9956-ffa450edef68
2016-07-07 17:00:05 +00:00
Pranay Pandey 3d9ea91eb2 [OFBIZ-7679] No functional change. Asset Maintenance FTL reformatting for better readability.
Thanks Vaibhav Jain for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751466 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 13:27:14 +00:00
Pranay Pandey bac577a595 [OFBIZ-7678] No functional change. BI component FTL reformatting for better readability.
Thanks Vaibhav Jain for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751464 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 13:20:07 +00:00