Commit Graph
27737 Commits
Author SHA1 Message Date
Taher A. Alkhateeb 1debfd9ef6 Fix a bug for gradle tasks not running in windows - OFBIZ-7815
Thanks to Jacques Le Roux for detecting the bug. The fix is extremely
simple with 4 characters, just add the .bat extension to the command
in the windows based version as shown in this commit


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753823 13f79535-47bb-0310-9956-ffa450edef68
2016-07-22 18:03:01 +00:00
Taher A. Alkhateeb 02c4bdaa92 Make cleanAnt an automated task and apply minor changes - OFBIZ-7898
The cleanAnt (previously cleanAntBuild) gradle task is designed to get
rid of old artifacts generated by the previous system (Apache Ant). This
commit applies changes and improvements as follows:

- Shorten the description of the task to make the output
  nicer in ./gradlew tasks
- rename the task from cleanAntBuild to cleanAnt because this
  task not only gets rid of old build directories but also ofbiz.jar
  (or any artifacts generated by ant which might be added)
- Move the task location above the cleanAll task. The location of
  declaration is important because it means that it will automatically
  run whenever the task cleanAll executes (dependency matched by regex)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753820 13f79535-47bb-0310-9956-ffa450edef68
2016-07-22 17:42:28 +00:00
Nicolas Malin 96ed02fae4 Create demo PartyStatus data for existing parties for applications component, thanks to Suraj Khurana for the submission through OFBIZ-7673
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753797 13f79535-47bb-0310-9956-ffa450edef68
2016-07-22 14:22:32 +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
Jacques Le Roux 93834caafb A request from Pierre Smits for "Removal of old OFBiz images from images folder" https://issues.apache.org/jira/browse/OFBIZ-7919
There are a few OFBiz images left behind in the image folder in the image component.

jleroux: This is certainly not a major issue but I see no reasons to keep these old unused images. I'll put a note in Attic.
While doing so I decided to remove opentravelsystem_logo.jpg and also to hide the bin folder (in OFBiz root) in Windows, it was confusing!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753774 13f79535-47bb-0310-9956-ffa450edef68
2016-07-22 10:22:11 +00:00
Jacques Le Roux 780b1ecd87 Creates a (short term) Gradle "cleanAnt" task to remove old build dirs - https://issues.apache.org/jira/browse/OFBIZ-7898
Completes r1753424 where I removed (almost) all svn:ignore for concerned components build dirs. Once again I missed to update my svn client (external to Eclipse where I made the change) so I missed the specialpurpose and tools dirs. changes added after

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753499 13f79535-47bb-0310-9956-ffa450edef68
2016-07-20 13:05:27 +00:00
Jacques Le Roux 9f33d252e0 Creates a (short term) Gradle "cleanAnt" task to remove old build dirs - https://issues.apache.org/jira/browse/OFBIZ-7898
Completes the task by removing all svn:ignore for concerned components build dirs

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753424 13f79535-47bb-0310-9956-ffa450edef68
2016-07-19 21:23:14 +00:00
Jacques Le Roux ccc4158a02 No functional change, only EOLs from CRLF to LF
Again CRLF from my machine, this is done directly in the repo!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753400 13f79535-47bb-0310-9956-ffa450edef68
2016-07-19 16:04:30 +00:00
Jacques Le Roux feb83e70b0 Creates a (short term) Gradle "cleanAnt" task to remove old build dirs - https://issues.apache.org/jira/browse/OFBIZ-7898
Shorten the cleanAntBuild task description and adds it in the clean group

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753396 13f79535-47bb-0310-9956-ffa450edef68
2016-07-19 14:35:15 +00:00
Jacques Le Roux 6c3d57f950 After r1753367 I did not update my own subversion config file. It's now done and better have LF EOLs here.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753395 13f79535-47bb-0310-9956-ffa450edef68
2016-07-19 14:16:01 +00:00
Jacques Le Roux 0c9ef9068c Damned, it's the 2nd time I inadvertently commit this unfinished file
I remove it from repo (even if not used yet) and I'll complete this task!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753385 13f79535-47bb-0310-9956-ffa450edef68
2016-07-19 13:36:01 +00:00
Jacques Le Roux f809583496 Creates a (short term) Gradle "cleanAnt" task to remove old build dirs - https://issues.apache.org/jira/browse/OFBIZ-7898
Taher proposed off line a better writing for the cleanAntBuild task, using Groovy rather than copying from the old Ant task. He  tested it, so here it is.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753382 13f79535-47bb-0310-9956-ffa450edef68
2016-07-19 13:22:32 +00:00
Jacques Le Roux 1fbad8362c Creates a (short term) Gradle "cleanAnt" task to remove old build dirs - https://issues.apache.org/jira/browse/OFBIZ-7898
Fixes the cleanAntBuild target, Taher make me notice that I put 2 whitespaces after /. I then realised that I used build.xml instead of build in the paths. This works (tested, I was abused in my 1st test only looking for "dir /s *ofbiz*.jar" (Windows)

Anyway I'll soon replace it by a proposition from Taher



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753381 13f79535-47bb-0310-9956-ffa450edef68
2016-07-19 13:01:15 +00:00
Jacques Le Roux 2926a4f6a8 Fixes wrong EOLs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753362 13f79535-47bb-0310-9956-ffa450edef68
2016-07-19 11:19:59 +00:00
Jacques Le Roux 39a660a685 Creates a (short term) Gradle "cleanAnt" task to remove old build dirs - https://issues.apache.org/jira/browse/OFBIZ-7898
This adapts the "old" Ant "clean*" targets in order to allow to remove old build dirs. It's not a problem if you have done an Ant clean just before removing Ant whith a "svn up" but I guess most of us did not.

I will then also remove the related svn:ignore (build dirs)... WIP...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753360 13f79535-47bb-0310-9956-ffa450edef68
2016-07-19 10:41:28 +00:00
Taher A. Alkhateeb ce718d81c6 Break down the tests of requestStatus and requestShutdown - OFBIZ-7897
The two tests were lumped together and if one throws an exception the other
will never throw it. So test coverage was not done properly. This commit
fixes this issue by separating the calls into two different tests.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753348 13f79535-47bb-0310-9956-ffa450edef68
2016-07-19 08:20:45 +00:00
Taher A. Alkhateeb d5cf4875a2 Introduce unit tests to the start component - OFBIZ-7897
This is the first batch of unit tests for the Start component
which introduces 8 unit tests for parsing the start commands
and also some tests for the AdminClient.

At some point if the tests become numerous we might need to
break it down into multiple files. The tests are implemented
with standard JUnit tests. A minor correction was done to the
StartupCommandUtil class by converting the List of startup
commands to a Set to remove duplicates. This was discovered
thank to the unit tests being introduced.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753274 13f79535-47bb-0310-9956-ffa450edef68
2016-07-18 17:28:31 +00:00
Jacques Le Roux f47ffc755c A request from Pierre Smits for "Move *CertKeystore.groovy* to location according to best practice" https://issues.apache.org/jira/browse/OFBIZ-7892
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753196 13f79535-47bb-0310-9956-ffa450edef68
2016-07-18 10:11:56 +00:00
Jacques Le Roux 3421b871b8 I can't not rely on doskey for Gradle OOTB tasks so my best solution is to add batches locally and svn:ignore them
Not sure I'll really use the GUI so this is temporary while testing and will maybe stay, other Windows users could benefit from it

Afterthought: it seems only French Windows users could benefit from it :D (raccourci is French for shortcut and automatically generated by Windows) anyway...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753170 13f79535-47bb-0310-9956-ffa450edef68
2016-07-18 08:24:20 +00:00
Deepak Dixit f6ea4def32 (OFBIZ-6274) Change it loger level from info to all for org.apache.ofbiz, as all is top level logging level so if we turn on verbose/timing logging then it will working fine. As currently it set to info so timing/verbose log was not printed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753168 13f79535-47bb-0310-9956-ffa450edef68
2016-07-18 08:18:48 +00:00
Jacques Le Roux 4ff2d49545 Updates modified demos scripts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753166 13f79535-47bb-0310-9956-ffa450edef68
2016-07-18 07:51:10 +00:00
Taher A. Alkhateeb a666d1c148 Introduce unit testing to OFBiz for components in /src/test/java - OFBIZ-7254
With this small commit, OFBiz is now ready for unit tests in the framework.
To create new tests simply create the java classes for testing in each component
inside /src/test/java. For example /src/test/java/org/apache/ofbiz/foo/bar/MyTests.java

This work is based on the discussion we had in the below thread.

http://ofbiz.markmail.org/message/3cebkshhgyzds4e5


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753143 13f79535-47bb-0310-9956-ffa450edef68
2016-07-18 05:01:15 +00:00
Taher A. Alkhateeb 77b34716b7 convert the EOL characters from DOS to unix for build.gradle and common.gradle
It seems someone committed these two files with Windows encoding which might
be a reason why the tests fail on buildbot. Hopefully this will fix the issue

OFBIZ-7534


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753063 13f79535-47bb-0310-9956-ffa450edef68
2016-07-17 12:05:32 +00:00
Taher A. Alkhateeb c29458ee1e Fix the terminateOfbiz task in gradle to use proper name - OFBIZ-7534
Upon changing the artifacts in OFBIZ-6274 from org.ofbiz to org.apache.ofbiz
the running class is changed from org.ofbiz.base.start.Start to
org.apache.ofbiz.base.start.Start hence fixing it accordingly in the task


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753051 13f79535-47bb-0310-9956-ffa450edef68
2016-07-17 10:25:57 +00:00
Jacques Le Roux f72214545b I can't to rely on doskey for Gradle OOTB tasks so my best solution is to add batches locally and svn:ignore them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753037 13f79535-47bb-0310-9956-ffa450edef68
2016-07-17 09:26:58 +00:00
Jacques Le Roux e7b978082e Ignoring gradle-app.setting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753036 13f79535-47bb-0310-9956-ffa450edef68
2016-07-17 09:20:56 +00:00
Jacques Le Roux 84485f2a8e Fixes an issue in the log where only warning were shown. Related with <<Rename OFBiz artifacts from 'org.ofbiz.*' to org.apache.ofbiz.*'>> - https://issues.apache.org/jira/browse/OFBIZ-6274
We had already the org.apache logger. IIRW, it's because we use Apache libs (eg Tomcat) and we want to be warned when issues appear at this level. 
By adding the org.apache.ofbiz info logger we should keep warnings a the org.apache level and get info at the org.apache.ofbiz level

I'm though unsure why we needed 
<logger name="org.apache.ofbiz.base.converter.Converters" level="warn"/>
which seems contradictory. I Googled for an explanation but I'm still short of it. I'll check with http://logging.apache.org/log4j/2.x/manual/configuration.html.

For now it works, so I apply the patch because it's already a relief and will help to resolve the harder problem of instable tests results.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753029 13f79535-47bb-0310-9956-ffa450edef68
2016-07-17 08:37:19 +00:00
Jacques Le Roux 414c48d1f2 A modified patch from Pierre Smits for "Ftl to Widget: improve ViewCertificate to use widgets instead of ftl" https://issues.apache.org/jira/browse/OFBIZ-6302
jleroux: I updated the patch. I fixed things by hand: tabs in the groovy files, removed the ftl file because of a tree conflicts due to the recent ftl files move and updated org.ofbiz to org.apache.ofbiz in CertKeystore.groovy

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753024 13f79535-47bb-0310-9956-ffa450edef68
2016-07-17 08:14:46 +00:00
Ashish Vijaywargiya 729f3adf96 Applied patch from jira issue - OFBIZ-7836 - Unwanted input box on OrderList screen.
Thanks Akshay for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752977 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 14:39:16 +00:00
Pranay Pandey 2981106b63 [OFBIZ-7707] Improved payment method information UI on party profile screen for creating new payment methods. Thanks Chandan Khandelwal for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752972 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 14:22:18 +00:00
Pranay Pandey 6f00174cdb [OFBIZ-7752] Corrected hyperlink sending to parent communication event by sending it's value. Thanks Chandan Khandelwal for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752966 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 14:10:19 +00:00
Ashish Vijaywargiya 40bd2bb3e3 Applied patch from jira issue - OFBIZ-7838 - Clean up commented out code in Java source for Content.
Thanks so much Harsh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752965 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 14:10:10 +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
Mridul Pathak 61ea183490 [OFBIZ-7663] Committing back changes from r1752921 as they are not related to frequent build failures.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752960 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 13:32:17 +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
Ashish Vijaywargiya c41659f63e Applied patch from jira issue - OFBIZ-7849 - Error occurred when we try to merge two contacts.
Thanks Ravi and Deepak for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752955 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 13:12:57 +00:00
Pranay Pandey 84bfa2c104 [OFBIZ-7843] Fixed issue in SFA Lead Profile view when group is provided on quick add form. As the 'roleTypeId' 'ACCOUNT_LEAD' used on invocation of service 'createPartyGroupRoleAndContactMechs', hence placed it inside the condition to set it only when it is invoked, so that correct 'roleTypeId' is returned.
Thanks Aditi Patidar for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752954 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 13:11:26 +00:00
Ashish Vijaywargiya 8144811a46 Applied patch from jira issue - OFBIZ-7860 - Clean up commented out code in Free Marker Template for Accounting.
Thanks so much Aman for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752953 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 13:07:03 +00:00
Ashish Vijaywargiya 903b57d898 Applied patch from jira issue - OFBIZ-7612 - Party content in party component is not getting updated.
Thanks Ravi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752952 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 13:04:34 +00:00
Pranay Pandey 2897422dee [OFBIZ-7825] Added the missing UI Label resource in the main-decorator for sfa component to fix label issue in SFA Communication Event Content sub menu.
Thanks Aditya Patwa for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752947 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 12:44:32 +00:00
Mridul Pathak 7a60f2e4ae [OFBIZ-7663] Reverting r1752921 as build is failing after that commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752946 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 12:42:57 +00:00
Pranay Pandey 8e5231c0a6 [OFBIZ-7840] Fixed Parent Comm Event Id rendering on the Edit Communication Event form. Modified the position of the Parent Comm Event Id field so that it does not look distorted.
Thanks Aditya Patwa for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752941 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 12:33:12 +00:00
Ashish Vijaywargiya 8cee2583fd Applied patch from jira issue - OFBIZ-7826 - Clean up commented out code in Java source for Accounting.
Thanks Harsh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752940 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 12:27:38 +00:00
Pranay Pandey 75fb73e348 [OFBIZ-7858] Adding paginate target on 'BillingAccountForms', 'CostForms' and 'AP/AR-InvoiceForms'.
Thanks Amardeep Singh Jhajj for reporting the issue and Chandan Khandelwal for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752933 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 12:02:36 +00:00
Pranay Pandey 1be99d19bb [OFBIZ-7844] Fixed broken link to View Customer request in email sent to the customer. Updated the reference of 'showPortletDecorator'(which doesn't exist) to 'showPortletMainDecorator'.
Thanks Swapnil M Mane for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752928 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 11:31:23 +00:00
Deepak Dixit c96a44e0d2 (OFBIZ-6274) Uncommented auto-detect font for apache fop, I commented this code on local box for testing, It was taking too much time to load system font.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752925 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 11:16:20 +00:00
Mridul Pathak a175c94ea8 [OFBIZ-7663] FromDate and ThruDate shows empty for WorkEffort Children. Thanks Ankit Joshi for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752921 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:46:49 +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 97435d646f [OFBIZ-7435] Create CustReq from CommEvent shows error on screen, fixed groovy script path. Thanks Vishal Chhabria for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752906 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 08:00:02 +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