Commit Graph
16 Commits
Author SHA1 Message Date
Jacopo Cappellato c0286adac2 Improved: added license header to the main README file of the project.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1762061 13f79535-47bb-0310-9956-ffa450edef68
2016-09-23 12:58:04 +00:00
Jacopo Cappellato e3a8470d8c Improved: major refactoring of the content of the LICENSE and NOTICE files as
a consequence of the fact that, after the switch to Gradle, most of the 
product's dependencies are not bundled in the package.

While doing that, I have also cleaned up and unified the format of the files, 
removed unnecessary content (like the full text of other licenses), moved the 
"Crypto notice" from NOTICE to README.md, merged the LICENSE/NOTICE files in 
specialpurpose with the ones in the distribution's main folder.
In general, I have followed the directions provided by these documents:
http://www.apache.org/dev/licensing-howto.html
http://www.apache.org/dev/crypto.html



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1762037 13f79535-47bb-0310-9956-ffa450edef68
2016-09-23 09:20:56 +00:00
Jacques Le Roux 671139b69c Improves: Create a Gradle task to use Xlint arguments when building
(OFBIZ-8251)

Attached is a simple and clean fix. Essentially, it's better to just use Xlint which is equal to Xlint:all to show everything and you can dig through it for whatever you want.
What this fix requires is only passing a project property called Xlint. So .. the syntax is ./gradlew -PXlint build

This adds also the documentation for both this issue and the OWASP-DC task

Thanks: Taher

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761131 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:51:23 +00:00
Taher A. Alkhateeb fd84a9cbe6 Implemented: Create a (PoC) plugin system for OFBiz based on Gradle
(OFBIZ-7972)

This commit creates a basic plugin API for OFBiz that interoperates
with maven repositories. We are committing this code as "experimental"
to allow contributors to start experimenting with this system easily
as per the discussion on the above JIRA and in ML in the below thread.

This new plugin API is documented in README.md and provides the following
new gradle tasks for managing plugins:

- createPlugin: creates a new plugin based on templates, place it in
  the plugins directory and activate it (add to component-load.xml)
- installPlugin: Activate a plugin and run its Install task. Plugin
  must exist already in /specialpurpose
- uninstallPlugin: Deactivate a plugin and run its uninstall task
- removePlugin: Uninstall a plugin and then delete it from the filesystem
- pushPlugin: publish a plugin to local maven repository
- pullPlugin: download a plugin with its dependencies (plugins) from
  a repository and install them

Discussion: http://markmail.org/message/h7fiicba2rtyl6cb

Thanks: Jacopo Capellato, Michael Brohl, Gil Portenseigne for feedback
and testing


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760917 13f79535-47bb-0310-9956-ffa450edef68
2016-09-15 11:20:05 +00:00
Jacques Le Roux c895d10c0a Completes: Put notsoserial in Attic
OFBIZ-8241

We decided to no longer support notsoserial because we not only have no longer issues OOTB, but also because the classes protected by default are now also covered by the external libs themselves, even those we don't use OOTB.

Those who use RMI, JNDI, JMX or Spring and maybe other Java classes OFBiz does not use OOTB would still be at risk if they don't use a tool like notsoserial. 
So we will amend the https://cwiki.apache.org/confluence/display/OFBIZ/The+infamous+Java+serialization+vulnerability Wiki page to let them know about that.
The main OFBiz README.MD file is also modified to be sure this is known by our users. BTW adding a security section is certainly a good idea.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760484 13f79535-47bb-0310-9956-ffa450edef68
2016-09-13 06:43:34 +00:00
Divesh Dutta 7e6550c1ef Removed unwanted changes from my last commit i.e 1757947
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757949 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 05:49:28 +00:00
Divesh Dutta 0dd39b0191 [OFBIZ-7558] Fixed:Any update made for Qty to Produce in a newly created Production Run is not saved. Thanks Swapnil Shah for reporting the issue and Anuj Jain for providing the patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757947 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 05:47:34 +00:00
Taher A. Alkhateeb d71a00ea4f apply changes to simplify and shorten gradle task calls - OFBIZ-7968
Apply the following changes to the gradle build script:

- Make only the "componentName" argument mandatory for the createComponent
  task and all other arguments are optional.
- Make only the "tenantId" argument mandatory for the createTenant task
  and all other arguments are optional
- update the documentation accordingly in README.md

This simplifies the calls to these tasks and relives us from the need to
create any interactive tasks in the build system.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757359 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 11:28:30 +00:00
Jacques Le Roux 5779ef0160 "Updates documentation with respect to implementation of gradle as a replacement of ant" - https://issues.apache.org/jira/browse/OFBIZ-7677
We forgot to put the necessary svn properties (especially EOL:native) and got an issue with last commit, this fixes the whole

Also remove the useless in repo .README.md.html which I believe is created by the GFM Eclipse plugin I installed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757045 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 11:02:36 +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
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
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
Taher A. Alkhateeb 200bcc67e4 Add a tip in the README.md file on how to apply tab completion - OFBIZ-7534
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752035 13f79535-47bb-0310-9956-ffa450edef68
2016-07-09 18:27:36 +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
Taher A. Alkhateeb f919337487 update the documentation in the README.md file for new task - OFBIZ-7534
I forgot to add the documentation to the previous commit in which
we added a new task to gradle called terminateOfbiz


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751789 13f79535-47bb-0310-9956-ffa450edef68
2016-07-07 12:33:53 +00:00
Taher A. Alkhateeb c2cb34d1e9 First commit in replacing Apache ant with Gradle - OFBIZ-7534
This commit represents a pivotal change in the history of the
project in which the build system is being replaced from Apache
Ant to Gradle of which the discussion mail thread link is below.

Thanks to everyone who helped with testing and feedback

This commit delivers the following:

- add the gradle wrapper directory in gradle/* which holds
  all items necessary for gradle to run
- add the build.gradle master script
- add the settings.gradle script which declares all the subprojects
- add documentation for how to use everything in a new file called
  README.md (written in markdown)

The new script is capable of the functionality that used to exist
in Ant with some additional features including automation of eclipse
files generation and many other functions.

To complete this new feature, we need to apply the following _after_
this commit:
- change the buildbot to utilize gradle instead of ant
- delete all ant & maven scripts
- replace all local jars with remote ones from jcenter

Reference thread: http://ofbiz.markmail.org/message/vstt3wxuubmjgmqj?q=Important+Changes+to+Trunk+and+Use+of+Ant+%26+Gradle

Reference JIRA: https://issues.apache.org/jira/browse/OFBIZ-7534



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751309 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 15:22:47 +00:00