Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 226b4c5f52 "Updates documentation with respect to implementation of gradle as a replacement of ant" - https://issues.apache.org/jira/browse/OFBIZ-7677
As suggested by Taher moves README.md.html to another folder than root. FOr now I decided to create a documentation sub folder into tools and to put it there while also moving pandoc.bat there. This is a WIP anyway...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757044 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 10:47:54 +00:00
Jacques Le Roux 7d2c5a77b2 "Updates documentation with respect to implementation of gradle as a replacement of ant" - https://issues.apache.org/jira/browse/OFBIZ-7677
Adds a convenient pandoc.bat as a reminder for now, to be enhanced later. Maybe it will become a Gradle task rather or maybe even several Gradle tasks if we use CONTRIBUTING-template.md and other possible *.md files

Updates the README.md file:
* Improve the "Load default OFBiz data" explanation
* adds the ® sign in 2 places (OFBiz and Tomcat)
* Misc other minor changes

Replaces README.MD.html renamed README.md.html after regeneration

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757043 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 10:21:47 +00:00
Jacques Le Roux 0020ed8d5c "Uses Pandoc to integrate our README.MD from repo to Confluence" - https://issues.apache.org/jira/browse/OFBIZ-7723
1st step before importing the Gradle README.MD in  https://cwiki.apache.org/confluence/display/OFBIZ/From+Ant+to+Gradle

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757039 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 06:41:55 +00:00
Jacques Le Roux 0f3463ac46 After r1756949, remove the base/lib and its reference in base ofbiz-component.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756984 13f79535-47bb-0310-9956-ffa450edef68
2016-08-20 05:56:41 +00:00
Nicolas Malin 7db2a45bd0 correct typo error on commit r1755302 to resolve the ofbiz log dir when isn't end by /
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756952 13f79535-47bb-0310-9956-ffa450edef68
2016-08-19 17:37:40 +00:00
Nicolas Malin 747234bda3 With the suppression of all jar to download them form jcenter, the jpim.jar isn't present.
To resolve this issue we can convert the current use for import/export vcard by an other api ez-vcard (https://github.com/mangstadt/ez-vcard) under bsd licence and present on jcenter.

The refactoring raise some problem on existant code, we will try with Gil to improve the import/export to grow data conversion to functional framework.
Some improve on import :
 * check if more than one email is present before check the prefered else take the one
 * check if more than one phone is present before check the prefered else take the one
 * check if more than one address is present before check the prefered else take the one
 * When you load a party by vcard, initialize a reference by fn attribute on PartyIndentification to escape the second loading
Will need continue improve the import like correct Organization loading, update process, add service to detect already party present
I also improve the screen result to display all parties loaded by the import and all already present.
The solution isn't perfect but it's work and compile, first purpose to delete jpim.jar is done :)
Related issue OFBIZ-7961


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756949 13f79535-47bb-0310-9956-ffa450edef68
2016-08-19 17:33:15 +00:00
Jacques Le Roux c9d825419d Fixes "GitInfo.ftl cannot be created when sources checkout using svn" reported by Wai at https://issues.apache.org/jira/browse/OFBIZ-7942
Simply check if the one of the 2 major versions managers used with OFBiz (Git or Subversion) is used

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756909 13f79535-47bb-0310-9956-ffa450edef68
2016-08-19 12:23:32 +00:00
Jacques Le Roux 8714d18ba6 Updates for Gradle
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756758 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 11:25:00 +00:00
Jacques Le Roux 765264f093 For "External library files are not in the OFBiz folder structure." - https://issues.apache.org/jira/browse/OFBIZ-7783, this adds a copyToExternalRuntimeLibs task, to be possibly used in a QA, UAT or production environment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756577 13f79535-47bb-0310-9956-ffa450edef68
2016-08-17 06:01:49 +00:00
Jacques Le Roux d562fc51c7 Fixes typos introduced with r1756543 for <<A patch from Pierre Smits for "Updating various labels in CommonUiLabels.xml" https://issues.apache.org/jira/browse/OFBIZ-7953>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756547 13f79535-47bb-0310-9956-ffa450edef68
2016-08-16 20:58:32 +00:00
Jacques Le Roux 49a99454a8 A patch from Pierre Smits for "Updating various labels in CommonUiLabels.xml" https://issues.apache.org/jira/browse/OFBIZ-7953
jleroux: As it's mostly "nl" additions I let our qualified committer (Hans Bakker) check this part


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756543 13f79535-47bb-0310-9956-ffa450edef68
2016-08-16 19:00:48 +00:00
Jacques Le Roux bf0ae07b34 A patch from Taher Alkhateeb for "Improve component template(s) to work with the Gradle solution" reported by Pierre Smits at https://issues.apache.org/jira/browse/OFBIZ-7910
I am attaching a patch that creates a custom libs folder in OFBiz top level directory where people can keep their jars and update the master script build.gradle accordingly.

jleroux: I svn:ignore the libs folder since only specific users libs will get there

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756515 13f79535-47bb-0310-9956-ffa450edef68
2016-08-16 13:10:45 +00:00
Jacques Le Roux 2aeae8a4a7 Change all *.sh properties, LF makes no sense, I can edit them on Windows!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756488 13f79535-47bb-0310-9956-ffa450edef68
2016-08-16 08:27:40 +00:00
Taher A. Alkhateeb 91a30923e8 fix os property regression related to OFBIZ-7951
The property used to be hidden from certain functions in the build
script making the system crash. Changing the definition from def to
ext.os fixes the issue and renders all functions operational. Thank
you Jacques Le Roux for reporting this.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756407 13f79535-47bb-0310-9956-ffa450edef68
2016-08-15 18:53:15 +00:00
Jacques Le Roux 17cd90a1fe A patch from Pierre Smits for "Remove EventReminders.properties as it has been declared deprecated" https://issues.apache.org/jira/browse/OFBIZ-6303
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756404 13f79535-47bb-0310-9956-ffa450edef68
2016-08-15 18:02:57 +00:00
Jacques Le Roux 4723f6409f A modified patch from Pierre Smits for "Have view-entity AgreementAndRole removed" https://issues.apache.org/jira/browse/OFBIZ-5994
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756365 13f79535-47bb-0310-9956-ffa450edef68
2016-08-15 09:52:25 +00:00
Jacques Le Roux ffc61ffeec Fixes a bug after "remove ofbizSecure and ofbizBackgroundSecure targets from the gradle build script" - https://issues.apache.org/jira/browse/OFBIZ-7951
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756351 13f79535-47bb-0310-9956-ffa450edef68
2016-08-15 05:53:36 +00:00
Jacques Le Roux e2e271d478 Updates Ubuntu script with respect to Gradle changes - OFBIZ-7677
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756350 13f79535-47bb-0310-9956-ffa450edef68
2016-08-15 05:36:30 +00:00
Jacques Le Roux 1db730faa9 No functional changes, simply update the documentation with respect to Gradle changes - OFBIZ-7677
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756349 13f79535-47bb-0310-9956-ffa450edef68
2016-08-15 05:35:15 +00:00
Jacques Le Roux 19010d1ae9 No functional changes, simply updates the documentation: deprecated wiki links
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756335 13f79535-47bb-0310-9956-ffa450edef68
2016-08-14 21:46:21 +00:00
Jacques Le Roux b4cf32a0de No functional changes, simply update the documentation with respect to Gradle changes - OFBIZ-7677
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756334 13f79535-47bb-0310-9956-ffa450edef68
2016-08-14 21:45:22 +00:00
Jacques Le Roux 146ba998fc Updates merge scripts to use testIntegration instead of test
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756333 13f79535-47bb-0310-9956-ffa450edef68
2016-08-14 21:43:57 +00:00
Jacques Le Roux acef383049 Updates trunk scripts for OFBIZ-7951
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756332 13f79535-47bb-0310-9956-ffa450edef68
2016-08-14 21:42:14 +00:00
Jacques Le Roux 5ae2cb0f60 No functional change, removes a dust left after removing the Gradle "debug" cover task
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756319 13f79535-47bb-0310-9956-ffa450edef68
2016-08-14 13:32:55 +00:00
Taher A. Alkhateeb 8a1bf74510 oops, forgot to pass the variable in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756311 13f79535-47bb-0310-9956-ffa450edef68
2016-08-14 12:15:02 +00:00
Taher A. Alkhateeb 9a885e26fc unify all occurences of operating system checks in one variable - OFBIZ-7534
Many places exist in build.gradle in which checking for the operating system
happens, where each time a variable is declared. This commit unifies all OS
checks in one variable


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756310 13f79535-47bb-0310-9956-ffa450edef68
2016-08-14 12:01:07 +00:00
Taher A. Alkhateeb 1d7288d111 remove unnecessary declared variable in build.gradle - OFBIZ-7951
A duplicate variable exists for creating the OS name, hence deleting


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756309 13f79535-47bb-0310-9956-ffa450edef68
2016-08-14 11:50:56 +00:00
Taher A. Alkhateeb ab3438ed65 remove ununsed variable declared in build.gradle after deleting the debug task
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756308 13f79535-47bb-0310-9956-ffa450edef68
2016-08-14 11:42:53 +00:00
Taher A. Alkhateeb 474299f8cc remove the tasks ofbizSecure and ofbizBackgroundSecure from gradle - OFBIZ-7951
Removes the ofbizSecure and ofbizBackgroundSecure and makes all OFBiz server tasks
secure by default. Also, update the documentation of README.md and the StartupCommandUtil
to remove these entries from the documentation.

This has reference to a thread discussion here -> http://markmail.org/message/zbbun7zrzdrtxavv


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756305 13f79535-47bb-0310-9956-ffa450edef68
2016-08-14 07:24:42 +00:00
Jacques Le Roux a44da541a2 Removes the soon useless start, stop and debug tasks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756269 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 13:53:53 +00:00
Taher A. Alkhateeb f042de2b47 update apache shiro dependency from 1.2.5 to 1.3.0
we have been facing an instability in buildbot for a few days
to due an encoding problem with apache shiro. We are bumping the
version up from 1.2.5 to 1.3.0 to test if this resolves the issue.

The error log:
https://ci.apache.org/builders/ofbiz-trunk/builds/1208/steps/shell/logs/stdio

The discussion:
http://ofbiz.markmail.org/message/si7qjqambnzseeez?q=buildbot+success+date:201608


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755495 13f79535-47bb-0310-9956-ffa450edef68
2016-08-08 11:24:05 +00:00
Jacques Le Roux f9b98faf88 Replaces change done at r1755451 "Adds compileJava.options.encoding = 'UTF-8' to see if it fixed Builbot issue as reported by Taher's investigation" with Taher's suggestion on dev ML current "code seems to apply encoding only on the
javaCompile task while my code applies a global jvm property that spans the whole project."

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755481 13f79535-47bb-0310-9956-ffa450edef68
2016-08-08 09:24:56 +00:00
Jacques Le Roux 4963f0e459 Adds compileJava.options.encoding = 'UTF-8' to see if it fixed Builbot issue as reported by Taher's investigation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755451 13f79535-47bb-0310-9956-ffa450edef68
2016-08-07 18:09:04 +00:00
Jacques Le Roux 607f817c8a Forgot this one at r1755306 for OFBIZ-7776 because I hesitated removing the README
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755401 13f79535-47bb-0310-9956-ffa450edef68
2016-08-06 14:11:35 +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 48accdc5ab Better name for the PasswordSecurityData.xml (now PasswordSecurityDemoData.xml) thanks to Scott's suggestion on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755390 13f79535-47bb-0310-9956-ffa450edef68
2016-08-06 08:22:32 +00:00
Arun Patidar fe33f59f6e Applied patch from jira issue - OFBIZ-7811 - Enforce noninstantiability to FreeMarkerWorker class. Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755358 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 15:53:20 +00:00
Arun Patidar 3e170d76f5 Applied patch from jira issue - OFBIZ-7810 - Enforce noninstantiability to UelUtil class. Thanks Rohit Koushal and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755348 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 15:38:00 +00:00
Arun Patidar 75d23697c3 Applied patch from jira issue - OFBIZ-7809 - Enforce noninstantiability to UtilXml class. Thanks Chinmay Patidar and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755346 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 15:19:25 +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
Nicolas Malin 184d60206a Currently we have two methods for display log in OFBiz throught webtools :
* https://localhost:8443/webtools/control/LogView
* https://localhost:8443/webtools/control/FetchLogs
Each method use the same line rendering and the difference is : LogView display only runtime/logs/ofbiz.log (or you can surcharge it vith debug.properties) and FecthLogs list all file name ofbiz* present on runtime/logs/ofbiz.log and offert the possibility to search only line that macth a string.

I review the code to use only one script (remove LogView.groovy) and improve following points :
* Optimise the FetchLog.groovy to display with same velocity a file with or without string chain filtering
* Add a property to change the root log directory. Under linux we use /var/log/ofbiz/
* Add a regExp to match the file name of file present in the directory. Helpful when you want to see error.log
* Complete debug.properties with comment for describe example for new properties

And last point, add refresh button on the end page to reload the log without lost your state on the page.
Related issue OFBIZ-7944

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755302 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:05:48 +00:00
Mridul Pathak 762b135274 [OFBIZ-7909] Remove system generated fields from data files of Accounting component. Thanks Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755301 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:05:37 +00:00
Mridul Pathak b5ca6bddfb [OFBIZ-7904] Remove system generated fields from data files of Product component. Thanks Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755299 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:01:52 +00:00
Mridul Pathak b43f1c8099 [OFBIZ-7903] Remove system generated fields from data files of Marketing component. Thanks Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755298 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 11:58:02 +00:00
Mridul Pathak c9186c1413 [OFBIZ-7901] Remove system generated fields from data files of Content component. Thanks Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755297 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 11:55:42 +00:00
Jacques Le Roux 67a1a432d9 Sorry I prefer debug over ofbizDebug. I see no point putting the ofbiz prefix there.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755265 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 09:24:08 +00:00
Jacques Le Roux 9a6dd3ff75 No functional change, just adds eclipse task
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755248 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 07:05:56 +00:00
Jacques Le Roux 985b23a5cf We have a lot of problems (mostly DB related issues) with the trunk demo since we switched to Gradle. Trying here (and on OFBIZ-VM)
./gradlew terminateOfbiz
instead of 
  ./gradlew "ofbiz --shutdown" 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755113 13f79535-47bb-0310-9956-ffa450edef68
2016-08-03 20:44:46 +00:00