Author: taher
Date: Sat Jul 9 18:10:19 2016 New Revision: 1752033 URL: http://svn.apache.org/viewvc?rev=1752033&view=rev Log: 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. Added: ofbiz/trunk/specialpurpose/lucene/build.gradle ofbiz/trunk/specialpurpose/solr/build.gradle Removed: ofbiz/trunk/.classpath ofbiz/trunk/.project ofbiz/trunk/ant ofbiz/trunk/ant.bat ofbiz/trunk/applications/accounting/build.xml ofbiz/trunk/applications/build.xml ofbiz/trunk/applications/content/build.xml ofbiz/trunk/applications/content/lib/dom4j-1.6.1.jar ofbiz/trunk/applications/content/lib/poi-3.13-20150929.jar ofbiz/trunk/applications/humanres/build.xml ofbiz/trunk/applications/manufacturing/build.xml ofbiz/trunk/applications/marketing/build.xml ofbiz/trunk/applications/order/build.xml ofbiz/trunk/applications/party/build.xml ofbiz/trunk/applications/product/build.xml ofbiz/trunk/applications/product/lib/ ofbiz/trunk/applications/securityext/build.xml ofbiz/trunk/applications/workeffort/build.xml ofbiz/trunk/build.xml ofbiz/trunk/common.xml ofbiz/trunk/framework/base/build.xml ofbiz/trunk/framework/base/lib/ant/ ofbiz/trunk/framework/base/lib/ant-1.9.0-ant-junit.jar ofbiz/trunk/framework/base/lib/ant-1.9.0-ant-launcher.jar ofbiz/trunk/framework/base/lib/ant-1.9.0-ant.jar ofbiz/trunk/framework/base/lib/avalon-framework-4.2.0.jar ofbiz/trunk/framework/base/lib/barcode4j-2.1-barcode4j-fop-ext-complete.jar ofbiz/trunk/framework/base/lib/batik-all-1.8.jar ofbiz/trunk/framework/base/lib/clhm-release-1.0-lru.jar ofbiz/trunk/framework/base/lib/commons/ ofbiz/trunk/framework/base/lib/esapi-2.1.0.jar ofbiz/trunk/framework/base/lib/fontbox-1.8.11.jar ofbiz/trunk/framework/base/lib/fop-2.1.jar ofbiz/trunk/framework/base/lib/freemarker-2.3.24.jar ofbiz/trunk/framework/base/lib/guava-14.0.1.jar ofbiz/trunk/framework/base/lib/hamcrest-all-1.2.jar ofbiz/trunk/framework/base/lib/httpclient-4.4.1.jar ofbiz/trunk/framework/base/lib/httpclient-cache-4.4.1.jar ofbiz/trunk/framework/base/lib/httpcore-4.4.1.jar ofbiz/trunk/framework/base/lib/httpunit-1.7.jar ofbiz/trunk/framework/base/lib/ical4j-1.0-rc2.jar ofbiz/trunk/framework/base/lib/icu4j-57_1.jar ofbiz/trunk/framework/base/lib/ivy-2.2.0.jar ofbiz/trunk/framework/base/lib/j2eespecs/ ofbiz/trunk/framework/base/lib/jackson-annotations-2.4.0.jar ofbiz/trunk/framework/base/lib/jackson-core-2.4.2.jar ofbiz/trunk/framework/base/lib/jackson-databind-2.4.2.jar ofbiz/trunk/framework/base/lib/javolution-5.4.3.jar ofbiz/trunk/framework/base/lib/jce-jdk13-154.jar ofbiz/trunk/framework/base/lib/jdom-1.1.jar ofbiz/trunk/framework/base/lib/jempbox-1.8.11.jar ofbiz/trunk/framework/base/lib/juel-impl-2.2.7.jar ofbiz/trunk/framework/base/lib/juel-spi-2.2.7.jar ofbiz/trunk/framework/base/lib/junit-dep-4.10.jar ofbiz/trunk/framework/base/lib/log4j-1.2-api-2.3.jar ofbiz/trunk/framework/base/lib/log4j-api-2.3.jar ofbiz/trunk/framework/base/lib/log4j-core-2.3.jar ofbiz/trunk/framework/base/lib/log4j-nosql-2.3.jar ofbiz/trunk/framework/base/lib/log4j-slf4j-impl-2.3.jar ofbiz/trunk/framework/base/lib/mail-1.5.1.jar ofbiz/trunk/framework/base/lib/nekohtml-1.9.16.jar ofbiz/trunk/framework/base/lib/owasp-java-html-sanitizer-r239.jar ofbiz/trunk/framework/base/lib/pdfbox-1.8.12.jar ofbiz/trunk/framework/base/lib/resolver-2.9.1.jar ofbiz/trunk/framework/base/lib/scripting/bsf-2.4.0.jar ofbiz/trunk/framework/base/lib/scripting/groovy-all-2.4.5.jar ofbiz/trunk/framework/base/lib/scripting/jakarta-oro-2.0.8.jar ofbiz/trunk/framework/base/lib/scripting/jython-nooro.jar ofbiz/trunk/framework/base/lib/serializer-2.9.1.jar ofbiz/trunk/framework/base/lib/shiro-core-1.2.5.jar ofbiz/trunk/framework/base/lib/slf4j-api-1.6.4.jar ofbiz/trunk/framework/base/lib/tika-core-1.12.jar ofbiz/trunk/framework/base/lib/tika-parsers-1.12.jar ofbiz/trunk/framework/base/lib/ws-commons-java5-1.0.1.jar ofbiz/trunk/framework/base/lib/ws-commons-util-1.0.2.jar ofbiz/trunk/framework/base/lib/xalan-2.7.2.jar ofbiz/trunk/framework/base/lib/xercesImpl-2.11.0.jar ofbiz/trunk/framework/base/lib/xml-apis-1.4.01.jar ofbiz/trunk/framework/base/lib/xml-apis-ext-1.3.04.jar ofbiz/trunk/framework/base/lib/xmlgraphics-commons-2.1.jar ofbiz/trunk/framework/base/lib/xmlrpc-client-3.1.2.jar ofbiz/trunk/framework/base/lib/xmlrpc-common-3.1.2.jar ofbiz/trunk/framework/base/lib/xmlrpc-server-3.1.2.jar ofbiz/trunk/framework/base/lib/xpp3-1.1.4c.jar ofbiz/trunk/framework/base/lib/xstream-1.4.9.jar ofbiz/trunk/framework/base/lib/zxing-core-3.2.0.jar ofbiz/trunk/framework/build.xml ofbiz/trunk/framework/catalina/build.xml ofbiz/trunk/framework/catalina/lib/ ofbiz/trunk/framework/common/build.xml ofbiz/trunk/framework/datafile/build.xml ofbiz/trunk/framework/entity/build.xml ofbiz/trunk/framework/entity/lib/ ofbiz/trunk/framework/entityext/build.xml ofbiz/trunk/framework/geronimo/build.xml ofbiz/trunk/framework/geronimo/lib/ ofbiz/trunk/framework/minilang/build.xml ofbiz/trunk/framework/resources/templates/build.xml ofbiz/trunk/framework/security/build.xml ofbiz/trunk/framework/service/build.xml ofbiz/trunk/framework/service/lib/ ofbiz/trunk/framework/start/build.xml ofbiz/trunk/framework/start/lib/ ofbiz/trunk/framework/start/pom.xml ofbiz/trunk/framework/testtools/build.xml ofbiz/trunk/framework/testtools/lib/ ofbiz/trunk/framework/webapp/build.xml ofbiz/trunk/framework/webapp/lib/ ofbiz/trunk/framework/webtools/build.xml ofbiz/trunk/framework/widget/build.xml ofbiz/trunk/ivy.xml ofbiz/trunk/macros.xml ofbiz/trunk/pom.xml ofbiz/trunk/specialpurpose/assetmaint/build.xml ofbiz/trunk/specialpurpose/bi/build.xml ofbiz/trunk/specialpurpose/birt/build.xml ofbiz/trunk/specialpurpose/build.xml ofbiz/trunk/specialpurpose/cmssite/template/docbook/webhelp/build.xml ofbiz/trunk/specialpurpose/ebay/build.xml ofbiz/trunk/specialpurpose/ebaystore/build.xml ofbiz/trunk/specialpurpose/ecommerce/build.xml ofbiz/trunk/specialpurpose/example/build.xml ofbiz/trunk/specialpurpose/hhfacility/build.xml ofbiz/trunk/specialpurpose/ldap/build.xml ofbiz/trunk/specialpurpose/lucene/build.xml ofbiz/trunk/specialpurpose/lucene/lib/ ofbiz/trunk/specialpurpose/oagis/build.xml ofbiz/trunk/specialpurpose/passport/build.xml ofbiz/trunk/specialpurpose/pos/build.xml ofbiz/trunk/specialpurpose/projectmgr/build.xml ofbiz/trunk/specialpurpose/scrum/build.xml ofbiz/trunk/specialpurpose/solr/build.xml ofbiz/trunk/specialpurpose/solr/lib/ ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/ ofbiz/trunk/specialpurpose/webpos/build.xml ofbiz/trunk/themes/flatgrey/build.xml ofbiz/trunk/themes/rainbowstone/build.xml Modified: ofbiz/trunk/.gitignore ofbiz/trunk/README.md ofbiz/trunk/build.gradle ofbiz/trunk/gradlew ofbiz/trunk/gradlew.bat ofbiz/trunk/settings.gradle Modified: ofbiz/trunk/.gitignore URL: http://svn.apache.org/viewvc/ofbiz/trunk/.gitignore?rev=1752033&r1=1752032&r2=1752033&view=diff ============================================================================== --- ofbiz/trunk/.gitignore (original) +++ ofbiz/trunk/.gitignore Sat Jul 9 18:10:19 2016 @@ -8,6 +8,7 @@ hot-deploy/*/build specialpurpose/*/build applications/content/index/ bin/ +build/ ofbiz.jar changelog runtime/git-rebase/* @@ -41,5 +42,8 @@ desktop.ini .*.swp .*.swo *.patch +.classpath +.project .settings -.groovy \ No newline at end of file +.gradle/ +.groovy Modified: ofbiz/trunk/README.md URL: http://svn.apache.org/viewvc/ofbiz/trunk/README.md?rev=1752033&r1=1752032&r2=1752033&view=diff ============================================================================== --- ofbiz/trunk/README.md (original) +++ ofbiz/trunk/README.md Sat Jul 9 18:10:19 2016 @@ -33,6 +33,10 @@ from the command line at the OFBiz top l ### Prepare OFBiz: +__Note__: Depending on your Internet connection speed it might take a long +time for this step to complete if you are using OFBiz for the first time +as it needs to download all dependencies. So please be patient! + MS Windows: `gradlew cleanAll loadDefault` Modified: ofbiz/trunk/build.gradle URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1752033&r1=1752032&r2=1752033&view=diff ============================================================================== --- ofbiz/trunk/build.gradle (original) +++ ofbiz/trunk/build.gradle Sat Jul 9 18:10:19 2016 @@ -34,7 +34,10 @@ allprojects { } subprojects { configurations { - ofbizPluginLibs + // compile-time plugin libraries + pluginLibsCompile + // runtime plugin libraries + pluginLibsRuntime } } @@ -49,11 +52,134 @@ configurations { dependencies { // general framework libs + compile 'apache-httpclient:commons-httpclient:3.1' + compile 'apache-xerces:resolver:2.9.1' + compile 'apache-xerces:xercesImpl:2.9.1' + compile 'avalon-framework:avalon-framework-impl:4.2.0' + compile 'bouncycastle:bouncycastle-jce-jdk13:112' + compile 'com.fasterxml.jackson.core:jackson-annotations:2.4.0' + compile 'com.fasterxml.jackson.core:jackson-core:2.4.2' + compile 'com.google.guava:guava:19.0' + compile 'com.google.zxing:core:3.2.1' + compile 'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.0' + compile 'com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20160628.1' + compile 'com.ibm.icu:icu4j:57.1' + compile 'com.lowagie:itext:2.1.7' + compile 'com.sun.mail:javax.mail:1.5.1' + compile 'com.sun.syndication:com.springsource.com.sun.syndication:0.9.0' + compile 'com.thoughtworks.xstream:xstream:1.4.9' + compile 'commons-beanutils:commons-beanutils-core:1.8.3' compile 'commons-cli:commons-cli:1.3.1' + compile 'commons-codec:commons-codec:1.10' + compile 'commons-el:commons-el:1.0' + compile 'commons-fileupload:commons-fileupload:1.3.1' + compile 'commons-io:commons-io:2.4' + compile 'commons-logging:commons-logging:1.2' + compile 'commons-net:commons-net:3.3' + compile 'commons-validator:commons-validator:1.5.1' + compile 'de.odysseus.juel:juel-impl:2.2.7' + compile 'de.odysseus.juel:juel-spi:2.2.7' + compile 'httpunit:httpunit:1.7' + compile 'javax.el:javax.el-api:3.0.1-b04' + compile 'javax.servlet:javax.servlet-api:3.1.0' + compile 'javax.servlet.jsp:javax.servlet.jsp-api:2.3.0' + compile 'javolution:javolution:5.4.3' + compile 'junit:junit-dep:4.10' + compile 'jython:jython:2.1' + compile 'net.fortuna.ical4j:ical4j:1.0-rc3-atlassian-11' + compile 'net.sf.barcode4j:barcode4j-fop-ext-complete:2.0' + compile 'net.sf.dozer:dozer:4.2.1' + compile 'net.sf.ezmorph:ezmorph:0.9.1' + compile 'net.sourceforge.nekohtml:nekohtml:1.9.16' + compile 'org.apache.ant:ant-apache-bsf:1.9.0' + compile 'org.apache.ant:ant-junit:1.9.0' + compile 'org.apache.ant:ant-launcher:1.9.0' + compile 'org.apache.axis2:axis2-adb:1.7.1' + compile 'org.apache.axis2:axis2-kernel:1.7.1' + compile 'org.apache.axis2:axis2-transport-http:1.7.1' + compile 'org.apache.axis2:axis2-transport-local:1.7.1' + compile 'org.apache.bsf:com.springsource.org.apache.bsf:2.4.0' + compile 'org.apache.commons:commons-collections4:4.1' + compile 'org.apache.commons:commons-compress:1.11' + compile 'org.apache.commons:commons-csv:1.1' + compile 'org.apache.commons:commons-dbcp2:2.1' + compile 'org.apache.commons:commons-pool2:2.3' + compile 'org.apache.derby:derby:10.11.1.1' + compile 'org.apache.geronimo.components:geronimo-transaction:3.1.1' + compile 'org.apache.geronimo.specs:geronimo-activation_1.0.2_spec:1.0' + compile 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:2.0.0' + compile 'org.apache.geronimo.specs:geronimo-jaxr_1.0_spec:1.0' + compile 'org.apache.geronimo.specs:geronimo-jaxrpc_1.1_spec:1.1' + compile 'org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1' + compile 'org.apache.geronimo.specs:geronimo-jta_1.1_spec:1.1.1' + compile 'org.apache.geronimo.specs:geronimo-saaj_1.3_spec:1.1' + compile 'org.apache.httpcomponents:httpclient-cache:4.4.1' + compile 'org.apache.httpcomponents:httpcore:4.4.1' + compile 'org.apache.logging.log4j:log4j-1.2-api:2.3' + compile 'org.apache.logging.log4j:log4j-api:2.3' + compile 'org.apache.logging.log4j:log4j-core:2.3' + compile 'org.apache.logging.log4j:log4j-nosql:2.3' + compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.3' + compile 'org.apache.neethi:neethi:3.0.3' + compile 'org.apache.pdfbox:fontbox:1.8.11' + compile 'org.apache.pdfbox:jempbox:1.8.11' + compile 'org.apache.pdfbox:pdfbox:1.8.12' + compile 'org.apache.poi:poi:3.14' + compile 'org.apache.servicemix.bundles:org.apache.servicemix.bundles.xpp3:1.1.4c_7' + compile 'org.apache.shiro:shiro-core:1.2.5' + compile 'org.apache.tika:tika-core:1.12' + compile 'org.apache.tika:tika-parsers:1.12' + compile 'org.apache.tomcat:tomcat-annotations-api:7.0.54' + compile 'org.apache.tomcat:tomcat-api:8.0.33' + compile 'org.apache.tomcat:tomcat-catalina-ha:8.0.33' + compile 'org.apache.tomcat:tomcat-catalina:8.0.33' + compile 'org.apache.tomcat:tomcat-coyote:8.0.33' + compile 'org.apache.tomcat:tomcat-jasper:8.0.33' + compile 'org.apache.tomcat:tomcat-jni:8.0.33' + compile 'org.apache.tomcat:tomcat-tribes:8.0.33' + compile 'org.apache.tomcat:tomcat-util-scan:8.0.33' + compile 'org.apache.tomcat:tomcat-util:8.0.33' + compile 'org.apache.tomcat.embed:tomcat-embed-websocket:8.0.33' + compile 'org.apache.tomcat.extras:tomcat-extras-juli-adapters:8.0.33' + compile 'org.apache.tomcat.extras:tomcat-extras-juli:8.0.33' + compile 'org.apache.woden:woden-core:1.0M10' + compile 'org.apache.ws.commons.axiom:axiom-api:1.2.17' + compile 'org.apache.ws.commons.axiom:axiom-impl:1.2.17' + compile 'org.apache.ws.commons.util:ws-commons-util:1.0.2' + compile 'org.apache.ws.xmlschema:xmlschema-core:2.2.1' + compile 'org.apache.xalan:com.springsource.org.apache.xml.serializer:2.7.1' + compile 'org.apache.xmlgraphics:fop:2.1' + compile 'org.apache.xmlgraphics:xmlgraphics-commons:2.1' + compile 'org.apache.xmlrpc:xmlrpc-client:3.1.2' + compile 'org.apache.xmlrpc:xmlrpc-common:3.1.2' + compile 'org.apache.xmlrpc:xmlrpc-server:3.1.2' + compile 'org.codeartisans.thirdparties.swing:batik-all:1.8pre-r1084380' + compile 'org.codehaus.groovy:groovy-all:2.4.5' + compile 'org.dom4j:com.springsource.org.dom4j:1.6.1' + compile 'org.eclipse.jdt.core.compiler:ecj:4.5' + compile 'org.freemarker:freemarker:2.3.24-incubating' + compile 'org.hamcrest:hamcrest-all:1.3' + compile 'org.jdom:jdom:1.1' + compile 'org.lucee:commons-lang:2.6.0' + compile 'org.slf4j:slf4j-api:1.6.4' + compile 'org.springframework:spring-core:4.2.3.RELEASE' + compile 'org.springframework:spring-test:4.2.3.RELEASE' + compile 'org.zapodot:jackson-databind-java-optional:2.4.2' + compile 'oro:oro:2.0.8' + compile 'ws-commons-java5:ws-commons-java5:1.0.1' + compile 'wsdl4j:wsdl4j:1.6.2' + compile 'xalan:xalan:2.7.2' + compile 'xml-apis:xml-apis-ext:1.3.04' + compile 'xml-apis:xml-apis:1.4.01' + + compile ('org.owasp.esapi:esapi:2.1.0') { + exclude group: 'org.beanshell', module: 'bsh-core' + } // plugin libs subprojects.each { subProject -> - compile project(path: subProject.path, configuration: 'ofbizPluginLibs') + compile project(path: subProject.path, configuration: 'pluginLibsCompile') + runtime project(path: subProject.path, configuration: 'pluginLibsRuntime') } // libs needed for junitreport @@ -166,7 +292,7 @@ task loadAdminUserLogin(group: ofbizServ } dependsOn executeLoadAdminUser doLast { - delete("${projectDir}/runtime/tmpe/AdminUserLoginData.xml") + delete("${projectDir}/runtime/tmp/AdminUserLoginData.xml") } } @@ -247,22 +373,22 @@ task createTenant(group: ofbizServer, de ['--load-data', 'file=/runtime/tmp/tmpFilteredTenantData.xml'], jvmArguments, false) loadTenantOnDefaultDelegator.dependsOn(generateDatabaseTemplateFile, generateAdminUserTemplateFile) - + // Load the actual tenant data createOfbizCommandTask('loadTenantData', [], jvmArguments, false) loadTenantData.dependsOn(loadTenantOnDefaultDelegator) - + // Load the tenant admin user account createOfbizCommandTask('loadTenantAdminUserLogin', [], jvmArguments, false) loadTenantAdminUserLogin.dependsOn(loadTenantData) - + /* pass arguments to tasks, must be done this way * because we are in the configuration phase. We cannot * set the parameters at the execution phase. */ if(project.hasProperty('tenantId')) { loadTenantData.args '--load-data' loadTenantData.args "delegator=default#${tenantId}" - + loadTenantAdminUserLogin.args '--load-data' loadTenantAdminUserLogin.args "delegator=default#${tenantId}" loadTenantAdminUserLogin.args '--load-data' @@ -272,7 +398,7 @@ task createTenant(group: ofbizServer, de loadTenantData.args '--load-data' loadTenantData.args "readers=${tenantReaders}" } - + dependsOn(loadTenantAdminUserLogin) // cleanup @@ -386,13 +512,19 @@ gradle.taskGraph.afterTask { Task task, } } -// remove sources from subprojects +// remove sources of subprojects since compilation is centralized eclipse.classpath.file.whenMerged { classpath -> iterateOverActiveComponents { component -> classpath.entries.removeAll { entry -> entry.kind == 'src' && entry.path == '/' + component.toString().tokenize('/').last() } } + classpath.entries.removeAll { entry -> + entry.kind == 'src' && + entry.path == '/framework' || + entry.path == '/applications' || + entry.path == '/specialpurpose' + } } // remove eclipse files before regenerating them tasks.eclipse.dependsOn(cleanEclipse) Modified: ofbiz/trunk/gradlew URL: http://svn.apache.org/viewvc/ofbiz/trunk/gradlew?rev=1752033&r1=1752032&r2=1752033&view=diff ============================================================================== --- ofbiz/trunk/gradlew (original) +++ ofbiz/trunk/gradlew Sat Jul 9 18:10:19 2016 @@ -1,10 +1,25 @@ #!/usr/bin/env bash -############################################################################## -## +##################################################################### ## Gradle start up script for UN*X -## -############################################################################## +##################################################################### +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +##################################################################### # Attempt to set APP_HOME # Resolve links: $0 may be a link Modified: ofbiz/trunk/gradlew.bat URL: http://svn.apache.org/viewvc/ofbiz/trunk/gradlew.bat?rev=1752033&r1=1752032&r2=1752033&view=diff ============================================================================== --- ofbiz/trunk/gradlew.bat (original) +++ ofbiz/trunk/gradlew.bat Sat Jul 9 18:10:19 2016 @@ -1,8 +1,23 @@ @if "%DEBUG%" == "" @echo off @rem ########################################################################## -@rem @rem Gradle startup script for Windows +@rem ########################################################################## +@rem Licensed to the Apache Software Foundation (ASF) under one +@rem or more contributor license agreements. See the NOTICE file +@rem distributed with this work for additional information +@rem regarding copyright ownership. The ASF licenses this file +@rem to you under the Apache License, Version 2.0 (the +@rem "License"); you may not use this file except in compliance +@rem with the License. You may obtain a copy of the License at +@rem +@rem http://www.apache.org/licenses/LICENSE-2.0 @rem +@rem Unless required by applicable law or agreed to in writing, +@rem software distributed under the License is distributed on an +@rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@rem KIND, either express or implied. See the License for the +@rem specific language governing permissions and limitations +@rem under the License. @rem ########################################################################## @rem Set local scope for the variables with windows NT shell Modified: ofbiz/trunk/settings.gradle URL: http://svn.apache.org/viewvc/ofbiz/trunk/settings.gradle?rev=1752033&r1=1752032&r2=1752033&view=diff ============================================================================== --- ofbiz/trunk/settings.gradle (original) +++ ofbiz/trunk/settings.gradle Sat Jul 9 18:10:19 2016 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ def iterateOverActiveComponents(applyFunction) { def frameworkComponents = new XmlParser().parse('framework/component-load.xml') def applicationsComponents = new XmlParser().parse('applications/component-load.xml') Added: ofbiz/trunk/specialpurpose/lucene/build.gradle URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/lucene/build.gradle?rev=1752033&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/lucene/build.gradle (added) +++ ofbiz/trunk/specialpurpose/lucene/build.gradle Sat Jul 9 18:10:19 2016 @@ -0,0 +1,23 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +dependencies { + pluginLibsCompile 'org.apache.lucene:lucene-core:5.3.1' + pluginLibsCompile 'org.apache.lucene:lucene-queryparser:5.3.1' + pluginLibsCompile 'org.apache.lucene:lucene-analyzers-common:5.3.1' +} \ No newline at end of file Added: ofbiz/trunk/specialpurpose/solr/build.gradle URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/build.gradle?rev=1752033&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/build.gradle (added) +++ ofbiz/trunk/specialpurpose/solr/build.gradle Sat Jul 9 18:10:19 2016 @@ -0,0 +1,64 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +dependencies { + pluginLibsCompile 'org.apache.solr:solr-core:5.3.1' + pluginLibsCompile 'org.apache.solr:solr-solrj:5.3.1' + + pluginLibsRuntime 'com.carrotsearch:hppc:0.5.2' + pluginLibsRuntime 'com.fasterxml.jackson.core:jackson-core:2.5.4' + pluginLibsRuntime 'com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.5.4' + pluginLibsRuntime 'com.google.protobuf:protobuf-java:2.5.0' + pluginLibsRuntime 'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.2' + pluginLibsRuntime 'com.spatial4j:spatial4j:0.4.1' + pluginLibsRuntime 'com.tdunning:t-digest:3.1' + pluginLibsRuntime 'commons-cli:commons-cli:1.2' + pluginLibsRuntime 'commons-configuration:commons-configuration:1.6' + pluginLibsRuntime 'joda-time:joda-time:2.2' + pluginLibsRuntime 'org.antlr:antlr-runtime:3.5' + pluginLibsRuntime 'org.apache.commons:commons-exec:1.3' + pluginLibsRuntime 'org.apache.hadoop:hadoop-annotations:2.7.2' + pluginLibsRuntime 'org.apache.hadoop:hadoop-auth:2.7.2' + pluginLibsRuntime 'org.apache.hadoop:hadoop-common:2.7.2' + pluginLibsRuntime 'org.apache.hadoop:hadoop-hdfs:2.7.2' + pluginLibsRuntime 'org.apache.httpcomponents:httpmime:4.4.1' + pluginLibsRuntime 'org.apache.lucene:lucene-analyzers-kuromoji:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-analyzers-phonetic:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-backward-codecs:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-codecs:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-expressions:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-grouping:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-highlighter:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-join:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-memory:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-misc:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-queries:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-sandbox:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-spatial:5.3.1' + pluginLibsRuntime 'org.apache.lucene:lucene-suggest:5.3.1' + pluginLibsRuntime 'org.apache.zookeeper:zookeeper:3.4.6' + pluginLibsRuntime 'org.codehaus.woodstox:stax2-api:3.1.4' + pluginLibsRuntime 'org.codehaus.woodstox:woodstox-core-asl:4.4.1' + pluginLibsRuntime 'org.htrace:htrace-core:3.0.4' + pluginLibsRuntime 'org.noggit:noggit:0.6' + pluginLibsRuntime 'org.ow2.asm:asm-commons:4.1' + pluginLibsRuntime 'org.ow2.asm:asm:4.1' + pluginLibsRuntime 'org.restlet.jee:org.restlet:2.3.0' + pluginLibsRuntime 'org.restlet.jee:org.restlet.ext.servlet:2.3.0' + pluginLibsRuntime 'woodstox:wstx-asl:3.2.7' +} \ No newline at end of file |
Free forum by Nabble | Edit this page |