diff --git a/org.adempiere.target.platform.feature/.project b/org.adempiere.target.platform.feature/.project new file mode 100644 index 0000000000..656844db96 --- /dev/null +++ b/org.adempiere.target.platform.feature/.project @@ -0,0 +1,17 @@ + + + org.adempiere.target.platform.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/org.adempiere.target.platform.feature/buckminster.properties b/org.adempiere.target.platform.feature/buckminster.properties new file mode 100644 index 0000000000..55e6bca13b --- /dev/null +++ b/org.adempiere.target.platform.feature/buckminster.properties @@ -0,0 +1,10 @@ +## buckminster.properties ## +#Where all the output should go +buckminster.output.root=${workspace.root}/site +# Where the temp files should go +buckminster.temp.root=${user.home}/tmp +# How .qualifier in versions should be replaced +qualifier.replacement.*=generator:buildTimestamp +target.os=* +target.ws=* +target.arch=* diff --git a/org.adempiere.target.platform.feature/build.properties b/org.adempiere.target.platform.feature/build.properties new file mode 100644 index 0000000000..64f93a9f0b --- /dev/null +++ b/org.adempiere.target.platform.feature/build.properties @@ -0,0 +1 @@ +bin.includes = feature.xml diff --git a/org.adempiere.target.platform.feature/feature.xml b/org.adempiere.target.platform.feature/feature.xml new file mode 100644 index 0000000000..a7ec860006 --- /dev/null +++ b/org.adempiere.target.platform.feature/feature.xml @@ -0,0 +1,583 @@ + + + + + [Enter Feature Description here.] + + + + [Enter Copyright Description here.] + + + + [Enter License Description here.] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.adempiere.target.platform.feature/platform.target b/org.adempiere.target.platform.feature/platform.target new file mode 100644 index 0000000000..d775419245 --- /dev/null +++ b/org.adempiere.target.platform.feature/platform.target @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/META-INF/ECLIPSEF.RSA b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/META-INF/ECLIPSEF.RSA new file mode 100644 index 0000000000..47fe7785f9 Binary files /dev/null and b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/META-INF/ECLIPSEF.RSA differ diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/META-INF/ECLIPSEF.SF b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/META-INF/ECLIPSEF.SF new file mode 100644 index 0000000000..34220478da --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/META-INF/ECLIPSEF.SF @@ -0,0 +1,179 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: DnymqoTvSz4gbC12HMrSKUQk34w= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: T473SZ5WWmQktg3oaHggnJO/FTM= + +Name: lib/ant-apache-bcel.jar +SHA1-Digest: LOl+pgdc9a4HwZywWL7CEqCEvZs= + +Name: etc/mmetrics-frames.xsl +SHA1-Digest: APiAPtADgoYGSwEquxQdQx5NN0A= + +Name: bin/ant.bat +SHA1-Digest: VRSA9YOPmicxeIZD8LdYkqdUmEA= + +Name: etc/tagdiff.xsl +SHA1-Digest: oQK6F+rUwsdxfJl58vbKAmtTs3Y= + +Name: lib/ant.jar +SHA1-Digest: lQ3OziQI4mYf42vhZl5qK05euHQ= + +Name: lib/ant-apache-oro.jar +SHA1-Digest: 08O0J8DpA2CUYHKRuRY8E6d2FS0= + +Name: lib/ant-jsch.jar +SHA1-Digest: 9REV6G1dh3UOS8ueh6rJVnXaBBE= + +Name: about_files/LICENSE.dom.html +SHA1-Digest: xK0He1PkoQXdHC48ROEqZRNXTL4= + +Name: etc/coverage-frames.xsl +SHA1-Digest: Lk7Vo06ABrH7brbJkP1hKRxLkMg= + +Name: lib/ant-jdepend.jar +SHA1-Digest: 0jLeaOQiRnL1dq7dYpmBw3NIEPk= + +Name: about_files/asl-v20.txt +SHA1-Digest: pJO0L/tUizs1vz2W9gV2VmGJsDs= + +Name: lib/ant-nodeps.jar +SHA1-Digest: b3zl9yIdDVX5up8caMNncYIhOZk= + +Name: META-INF/eclipse.inf +SHA1-Digest: Z+e4UrhAmTCBR1UpP/RqMf9OX00= + +Name: lib/ant-apache-regexp.jar +SHA1-Digest: bCJf89W6L5gZfecnoaC3GY5i9j0= + +Name: bin/runant.pl +SHA1-Digest: 4EKNYCEcyO/SMqxm79fnts8/Q1c= + +Name: lib/ant-weblogic.jar +SHA1-Digest: 1zEByTGSxJzTfSdx+joviPFLPgI= + +Name: bin/envset.cmd +SHA1-Digest: anGgepI9TTUvD6W73h+kGQrc2d0= + +Name: etc/checkstyle/checkstyle-text.xsl +SHA1-Digest: Jzub6NSrWxS9hYda+Wy/SP49SeI= + +Name: lib/ant-junit.jar +SHA1-Digest: Asegl5TsYIaKAuGWD3RQGmYG9iw= + +Name: bin/ant.cmd +SHA1-Digest: fKm5e7CiWr2UH61jbx6Yol3cQZo= + +Name: etc/log.xsl +SHA1-Digest: 0HD61tw+M8q33hpPVPkjJJe4SDo= + +Name: bin/antRun +SHA1-Digest: 3xz5zLVIT2QJnPskzZCOuX0LVnw= + +Name: bin/runant.py +SHA1-Digest: uMviIJaN6y/k6xUbjXhmUd6TN8E= + +Name: lib/ant-commons-logging.jar +SHA1-Digest: gPBkcASbXXb7sM6WCSbP3OnU0qw= + +Name: lib/ant-swing.jar +SHA1-Digest: KeZdzozW8mPvLnnzlpJbnLFHC/k= + +Name: etc/jdepend-frames.xsl +SHA1-Digest: OEsPHq3PIr185ocUtm81ULkmobs= + +Name: etc/checkstyle/checkstyle-xdoc.xsl +SHA1-Digest: mfVMgdE+9JoC0hKc0Vc5f7pbe/c= + +Name: etc/changelog.xsl +SHA1-Digest: 9ZFS8fHSvz42GLs2NDnqzLFo5G8= + +Name: lib/ant-launcher.jar +SHA1-Digest: T5al3RPPs+cl2svqvzwRQyPua1M= + +Name: etc/jdepend.xsl +SHA1-Digest: M6boZHWa9+JeDhCjXtq5Z9Y61dY= + +Name: bin/runrc.cmd +SHA1-Digest: aq6+dBb+jdiXyrvDNmLIOzj21N8= + +Name: lib/ant-jmf.jar +SHA1-Digest: rEt5vCSeiJhrDXhToAlqBYJUlpY= + +Name: lib/ant-starteam.jar +SHA1-Digest: CC7k+9amtUmgE+nMSJswFn0gmdc= + +Name: lib/ant-netrexx.jar +SHA1-Digest: 4MHr/zw5Cad5RNbITo3KEhTVU/g= + +Name: plugin.properties +SHA1-Digest: g7K94ZyjaSU4QSVkjoTpYtl1vqE= + +Name: lib/ant-jai.jar +SHA1-Digest: Hgz5UmlpuD4hOHTE+BQc7wzmHz0= + +Name: lib/ant-trax.jar +SHA1-Digest: w6uurfjcZy7fOSYUPT2jG8svYVo= + +Name: bin/antRun.bat +SHA1-Digest: KX8SW+sZ8gtQYr3boWRpl2DkWrE= + +Name: lib/ant-apache-bsf.jar +SHA1-Digest: usSlJG0vxeeqtxI/5lH/UPeH2fg= + +Name: about_files/LICENSE.sax.txt +SHA1-Digest: CnKqzCUI0E0NUSlVIAfUd8gctxU= + +Name: lib/ant-stylebook.jar +SHA1-Digest: FwmSqxPzrBPJXJ0X4oKHndncTnY= + +Name: lib/ant-apache-log4j.jar +SHA1-Digest: zcg372So4PVCkltPKzEiAFN3rA4= + +Name: bin/ant +SHA1-Digest: bnS5vQF5wYnqXs8zr+3LORKIA0U= + +Name: etc/checkstyle/checkstyle-frames.xsl +SHA1-Digest: cQKamOMX7Att9wW45aAohAWp3K0= + +Name: bin/complete-ant-cmd.pl +SHA1-Digest: wXOPsOb8rPKKwt6rAb3XoXCwFgQ= + +Name: about_files/NOTICE +SHA1-Digest: g5R8FDyNNir6o/tFVnDNSlcP+z0= + +Name: lib/ant-apache-resolver.jar +SHA1-Digest: NNj7gb1Enc2M8v/lMP9D4XO+8W0= + +Name: etc/junit-frames.xsl +SHA1-Digest: 2hTCiaPp95X9ZjX8ZDwjvqwfT6U= + +Name: etc/junit-noframes.xsl +SHA1-Digest: M4u7091ckN+zoCaRvjal1SDwJQE= + +Name: lib/ant-antlr.jar +SHA1-Digest: pYDgw2hfdxjUG5938M9pyip9zoA= + +Name: about.html +SHA1-Digest: tujWEJAt+/IKSC26IMuUh48ercA= + +Name: etc/maudit-frames.xsl +SHA1-Digest: U8xxI3AoPSoVepSv0ZbfrARsTZY= + +Name: etc/junit-frames-xalan1.xsl +SHA1-Digest: Bvmst1NiMllcc+sricG/3Eyszc0= + +Name: lib/ant-commons-net.jar +SHA1-Digest: 054oC0sq2Zt1GCWm8zv3DATb8nQ= + +Name: lib/ant-javamail.jar +SHA1-Digest: eJJcJGmsmr4JB5KfiZJRZcv6xLs= + +Name: bin/lcp.bat +SHA1-Digest: EA5m2+HfGFLhb6ForQdjnlvl3cU= + +Name: bin/antenv.cmd +SHA1-Digest: as5/uc6NFrw5Zqzjc5vZEWg6MsM= + +Name: bin/antRun.pl +SHA1-Digest: Cw3hkFZ/7NbP7kPUGL/WM1n8EKk= + diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/META-INF/MANIFEST.MF b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..56d762ba7c --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/META-INF/MANIFEST.MF @@ -0,0 +1,234 @@ +Manifest-Version: 1.0 +Bundle-ClassPath: lib/ant.jar,lib/ant-antlr.jar,lib/ant-apache-bcel.ja + r,lib/ant-apache-bsf.jar,lib/ant-apache-log4j.jar,lib/ant-apache-oro. + jar,lib/ant-apache-regexp.jar,lib/ant-apache-resolver.jar,lib/ant-com + mons-logging.jar,lib/ant-commons-net.jar,lib/ant-jai.jar,lib/ant-java + mail.jar,lib/ant-jdepend.jar,lib/ant-jmf.jar,lib/ant-jsch.jar,lib/ant + -junit.jar,lib/ant-launcher.jar,lib/ant-netrexx.jar,lib/ant-nodeps.ja + r,lib/ant-starteam.jar,lib/ant-stylebook.jar,lib/ant-swing.jar,lib/an + t-trax.jar,lib/ant-weblogic.jar +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: J2SE-1.2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.apache.ant +Require-Bundle: org.eclipse.osgi +Export-Package: images,org.apache.tools.ant,org.apache.tools.ant.dispa + tch,org.apache.tools.ant.filters,org.apache.tools.ant.filters.util,or + g.apache.tools.ant.helper,org.apache.tools.ant.input,org.apache.tools + .ant.launch,org.apache.tools.ant.listener,org.apache.tools.ant.loader + ,org.apache.tools.ant.taskdefs,org.apache.tools.ant.taskdefs.compiler + s,org.apache.tools.ant.taskdefs.condition,org.apache.tools.ant.taskde + fs.cvslib,org.apache.tools.ant.taskdefs.email,org.apache.tools.ant.ta + skdefs.optional,org.apache.tools.ant.taskdefs.optional.ccm,org.apache + .tools.ant.taskdefs.optional.clearcase,org.apache.tools.ant.taskdefs. + optional.depend,org.apache.tools.ant.taskdefs.optional.depend.constan + tpool,org.apache.tools.ant.taskdefs.optional.dotnet,org.apache.tools. + ant.taskdefs.optional.ejb,org.apache.tools.ant.taskdefs.optional.exte + nsion,org.apache.tools.ant.taskdefs.optional.extension.resolvers,org. + apache.tools.ant.taskdefs.optional.i18n,org.apache.tools.ant.taskdefs + .optional.image,org.apache.tools.ant.taskdefs.optional.j2ee,org.apach + e.tools.ant.taskdefs.optional.javacc,org.apache.tools.ant.taskdefs.op + tional.javah,org.apache.tools.ant.taskdefs.optional.jdepend,org.apach + e.tools.ant.taskdefs.optional.jlink,org.apache.tools.ant.taskdefs.opt + ional.jsp,org.apache.tools.ant.taskdefs.optional.jsp.compilers,org.ap + ache.tools.ant.taskdefs.optional.junit,org.apache.tools.ant.taskdefs. + optional.junit.xsl,org.apache.tools.ant.taskdefs.optional.native2asci + i,org.apache.tools.ant.taskdefs.optional.net,org.apache.tools.ant.tas + kdefs.optional.perforce,org.apache.tools.ant.taskdefs.optional.pvcs,o + rg.apache.tools.ant.taskdefs.optional.scm,org.apache.tools.ant.taskde + fs.optional.script,org.apache.tools.ant.taskdefs.optional.sos,org.apa + che.tools.ant.taskdefs.optional.sound,org.apache.tools.ant.taskdefs.o + ptional.splash,org.apache.tools.ant.taskdefs.optional.ssh,org.apache. + tools.ant.taskdefs.optional.starteam,org.apache.tools.ant.taskdefs.op + tional.unix,org.apache.tools.ant.taskdefs.optional.vss,org.apache.too + ls.ant.taskdefs.optional.windows,org.apache.tools.ant.taskdefs.rmic,o + rg.apache.tools.ant.types,org.apache.tools.ant.types.conditions,org.a + pache.tools.ant.types.mappers,org.apache.tools.ant.types.optional,org + .apache.tools.ant.types.optional.depend,org.apache.tools.ant.types.op + tional.image,org.apache.tools.ant.types.resolver,org.apache.tools.ant + .types.resources,org.apache.tools.ant.types.resources.comparators,org + .apache.tools.ant.types.resources.selectors,org.apache.tools.ant.type + s.selectors,org.apache.tools.ant.types.selectors.modifiedselector,org + .apache.tools.ant.types.spi,org.apache.tools.ant.util,org.apache.tool + s.ant.util.depend,org.apache.tools.ant.util.depend.bcel,org.apache.to + ols.ant.util.facade,org.apache.tools.ant.util.java15,org.apache.tools + .ant.util.optional,org.apache.tools.ant.util.regexp,org.apache.tools. + bzip2,org.apache.tools.mail,org.apache.tools.tar,org.apache.tools.zip +Bundle-Version: 1.7.1.v20100518-1145 +Bundle-ManifestVersion: 2 + +Name: lib/ant-apache-bcel.jar +SHA1-Digest: mL7ypH+XtKGLayV/7EGF6kwoYwI= + +Name: etc/mmetrics-frames.xsl +SHA1-Digest: cQnziGYZC2FrO0zwFE92P1bP2v8= + +Name: bin/ant.bat +SHA1-Digest: Rc2etgn1RATkrEL3NCa3Fs75Ov8= + +Name: etc/tagdiff.xsl +SHA1-Digest: ddaegkBkww5CoIlRpSR8RDUI1bQ= + +Name: lib/ant.jar +SHA1-Digest: QmGGhQi4COYG3u+KHGHVjvZA9hM= + +Name: lib/ant-apache-oro.jar +SHA1-Digest: 3mVzpEG3xmdgVi2+lwuMPKHKZfM= + +Name: lib/ant-jsch.jar +SHA1-Digest: FmNWUeOpmyXmyH5K7WvBCfyprsE= + +Name: about_files/LICENSE.dom.html +SHA1-Digest: 9F8cZaCgriCte0T6Mt5hAFumadk= + +Name: etc/coverage-frames.xsl +SHA1-Digest: 5SE/NhPWEbqzGDGL58dwEbkhwRs= + +Name: lib/ant-jdepend.jar +SHA1-Digest: juZ5ScBk7RdbT9kx1nq/TB1qix8= + +Name: about_files/asl-v20.txt +SHA1-Digest: K4uBUimqimHkg/tLoFiLi2xJGJA= + +Name: lib/ant-nodeps.jar +SHA1-Digest: stuzByOvnFqXXfMR1DOHMbURR4Y= + +Name: META-INF/eclipse.inf +SHA1-Digest: u+F8j/GAE8tzrDry9+wT3Cvg81Y= + +Name: lib/ant-apache-regexp.jar +SHA1-Digest: bCOUGaWl76Yhuy0KPpq3Cl/w55g= + +Name: bin/runant.pl +SHA1-Digest: tynYaGh8+BtWDsZ6PljZdoi+egU= + +Name: lib/ant-weblogic.jar +SHA1-Digest: q/YjU1rB8u/dxjXcENxmEQ3pgXQ= + +Name: etc/checkstyle/checkstyle-text.xsl +SHA1-Digest: CqSzAXEeeV20DtFpeujwjL9FEW8= + +Name: bin/envset.cmd +SHA1-Digest: EJ+ljL5sbUQ8mWVn8V49XPBuAz0= + +Name: bin/ant.cmd +SHA1-Digest: 4jPJI7nJO+v3oPpbi5GbrT7x9qk= + +Name: lib/ant-junit.jar +SHA1-Digest: VPSxi0uuALZXXpJF4QFhkpUOpUI= + +Name: bin/antRun +SHA1-Digest: S63QT5F5EI1BCpIj59nosT3lVTw= + +Name: etc/log.xsl +SHA1-Digest: juv2H0VplMm4ri1rzgdOW0yCroc= + +Name: bin/runant.py +SHA1-Digest: Kg3iFzRnZW6PVIFmbj7Eyuo72cM= + +Name: lib/ant-commons-logging.jar +SHA1-Digest: NjlZah2crXobTrvv4OGCIMjO+8A= + +Name: lib/ant-swing.jar +SHA1-Digest: XynrDWbhmRUIf9PM4gVJqgCaA5s= + +Name: etc/jdepend-frames.xsl +SHA1-Digest: U2Bb6aMxgbEYqXkCm2sujeLP7Zo= + +Name: etc/checkstyle/checkstyle-xdoc.xsl +SHA1-Digest: yL3TqCA4pc0daZXtXwAiCN6xHxI= + +Name: etc/changelog.xsl +SHA1-Digest: 2EZZ+jSTt1TTlBYPN4vGUAX7cTQ= + +Name: lib/ant-launcher.jar +SHA1-Digest: GHtlGif/wHyc2Emb1oDygUu5sOU= + +Name: etc/jdepend.xsl +SHA1-Digest: 0rf14aLzhLsun24uUsXVVvkHM6I= + +Name: bin/runrc.cmd +SHA1-Digest: eNo+cuYQicndcc56FVkRScD5w30= + +Name: lib/ant-jmf.jar +SHA1-Digest: LkMJEvWekiNff2+40hzqUtHWv5Y= + +Name: lib/ant-starteam.jar +SHA1-Digest: phxps48pSlCZmpwiyZY2cbk6yaw= + +Name: lib/ant-netrexx.jar +SHA1-Digest: QWTo/YKGFWwaSuanXxbeyc3U2yQ= + +Name: plugin.properties +SHA1-Digest: EM3JUl9D3jv9MhxxbdTWTUt6kbI= + +Name: lib/ant-jai.jar +SHA1-Digest: EJ+iUjul2mZKti+TEgmuQ3kIh/o= + +Name: lib/ant-trax.jar +SHA1-Digest: HZ8Fu0t4n4XH3pf7VeSW1i3ymAw= + +Name: bin/antRun.bat +SHA1-Digest: zB9JbFFhlXTVgwaJlw61wNELj6k= + +Name: lib/ant-apache-bsf.jar +SHA1-Digest: 3m9VogNJMXiCF1ZkaeMRPdtM9OA= + +Name: about_files/LICENSE.sax.txt +SHA1-Digest: uLnQn2qwT77aJ6MThuLeWz1I5ek= + +Name: lib/ant-stylebook.jar +SHA1-Digest: E+Uxq8GjVBkGmc4TZ3JQh4MZeRw= + +Name: lib/ant-apache-log4j.jar +SHA1-Digest: 35KkJkHQuFhTpd0mbJemrVVJCQI= + +Name: bin/ant +SHA1-Digest: jK7w10Hy+BIiSimUAhjgizdaBuY= + +Name: etc/checkstyle/checkstyle-frames.xsl +SHA1-Digest: 5KYg/jQq+iuWKS5gF1qX37F+UX0= + +Name: bin/complete-ant-cmd.pl +SHA1-Digest: F1mrSua1xk98goAA1YvtOoJNiuw= + +Name: about_files/NOTICE +SHA1-Digest: v3XrGNGv2sQGqBe+ObJZnq9915g= + +Name: lib/ant-apache-resolver.jar +SHA1-Digest: fzM5Jwsbw+H2XUPO5uxQGgO9mRA= + +Name: etc/junit-frames.xsl +SHA1-Digest: XIcHcYoM8I5hzTkhdiy5iskupIM= + +Name: etc/junit-noframes.xsl +SHA1-Digest: zmgmTYDnXS0QZvMd3wUarjPR7aE= + +Name: lib/ant-antlr.jar +SHA1-Digest: Kagxm9lkBtXTXWMRKDWn52KZeTE= + +Name: about.html +SHA1-Digest: cPPs9diR9VPNDzWrCs1FLNOdJEo= + +Name: etc/maudit-frames.xsl +SHA1-Digest: 1oML7OYqWjV+hPKu/ItdzrAFGcA= + +Name: etc/junit-frames-xalan1.xsl +SHA1-Digest: ME/2vW22HRXG87EwVJ9LFfkfyEI= + +Name: lib/ant-commons-net.jar +SHA1-Digest: Rg+mKr8hSVibDLdQwjnhGg+oMuA= + +Name: lib/ant-javamail.jar +SHA1-Digest: 2b0KzqoBPtuNEHHwW3KXqLGLby8= + +Name: bin/lcp.bat +SHA1-Digest: eX7ICcBsanATsaEDkn5+oTA4QaQ= + +Name: bin/antenv.cmd +SHA1-Digest: s2zvcJEs2E2x6ckfXZoGxx1OF1Y= + +Name: bin/antRun.pl +SHA1-Digest: mynp1agPByxojQUKZqlVZkXZSHY= + diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/META-INF/eclipse.inf b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/META-INF/eclipse.inf new file mode 100644 index 0000000000..68d6fa9b5f --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/META-INF/eclipse.inf @@ -0,0 +1,4 @@ +#Processed using Jarprocessor +jarprocessor.exclude.children.sign = true +pack200.args = -E4 +pack200.conditioned = true diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about.html b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about.html new file mode 100644 index 0000000000..08d57814a8 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about.html @@ -0,0 +1,62 @@ + + + + +About + + +

About This Content

+ +

July 14, 2008

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ +

Third Party Content

+ +

The Content includes items that have been sourced from third parties as set out below. If you +did not receive this Content directly from the Eclipse Foundation, the following is provided +for informational purposes only, and you should look to the Redistributor’s license for +terms and conditions of use.

+ +

Ant 1.7.1

+

The plug-in includes software developed by The Apache Software Foundation as part of the Ant project.

+ +

The Ant binary code in ant.jar and the scripts ant, ant.bat, ant.cmd, antenv.cmd, antRun, antRun.bat, antRun.pl, complete-ant-cmd.pl, envset.cmd, lcp.bat, runant.pl, runant.py and runrc.cmd are included with the plug-in with no modifications. +The Ant source code is located in the zip files named ant-*src.zip.

+ +

Your use of the Ant code and the scripts is subject to the terms and conditions of the Apache License, Version 2.0. A copy of the license is contained +in the file asl-v20.txt and is also available at http://www.apache.org/licenses/LICENSE-2.0.html. + +

The names "Ant" and "Apache Software Foundation" must not be used to endorse or promote products derived from this +software without prior written permission. For written permission, please contact apache@apache.org.

+ +

The Apache attribution NOTICE file is included with the Content in accordance with 4d of the Apache License, Version 2.0.

+ +

Ant includes the following software:

+ +
+

DOM

+

DOM is developed by the World Wide Web Consortium. Your use of DOM is subject to the terms and conditions of the license found in the + file LICENSE.dom.html which is included with this plug-in and can also be found at + http://www.w3.org/Consortium/Legal/copyright-software-19980720.

+ +

SAX

+ +

SAX is developed by the SAX project (http://www.saxproject.org). Your use of SAX is subject to the + terms and conditions of the license found in the file LICENSE.sax.txt which is included with this plug-in.

+
+ + \ No newline at end of file diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about_files/LICENSE.dom.html b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about_files/LICENSE.dom.html new file mode 100644 index 0000000000..97e7898475 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about_files/LICENSE.dom.html @@ -0,0 +1,82 @@ + + + +License + + + +

This license came from:
+http://www.w3.org/Consortium/Legal/copyright-software-19980720

+ +

+W3C® SOFTWARE NOTICE AND LICENSE
+Copyright © 1994-2001 World Wide Web Consortium, (Massachusetts Institute of Technology, +Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved.
+http://www.w3.org/Consortium/Legal/

+ +

+This W3C work (including software, documents, or other related
+items) is being provided by the copyright holders under the
+following license. By obtaining, using and/or copying this work,
+you (the licensee) agree that you have read, understood, and will
+comply with the following terms and conditions:
+Permission to use, copy, modify, and distribute this software
+and its documentation, with or without modification, for any
+purpose and without fee or royalty is hereby granted, provided that
+you include the following on ALL copies of the software and
+documentation or portions thereof, including modifications, that
+you make:

+ +

+The full text of this NOTICE in a location viewable to users of
+the redistributed or derivative work.

+ +

+Any pre-existing intellectual property disclaimers, notices, or
+terms and conditions. If none exist, a short notice of the
+following form (hypertext is preferred, text is permitted) should
+be used within the body of any redistributed or derivative code:
+"Copyright © [$date-of-software] World Wide Web Consortium, (Massachusetts Institute of
+Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All Rights Reserved.
+http://www.w3.org/Consortium/Legal/"

+ +

+Notice of any changes or modifications to the W3C files,
+including the date changes were made. (We recommend you provide
+URIs to the location from which the code is derived.)

+ +

+THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
+COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
+MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
+USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
+PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
+SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
+SOFTWARE OR DOCUMENTATION.

+ +

+The name and trademarks of copyright holders may NOT be used in
+advertising or publicity pertaining to the software without
+specific, written prior permission. Title to copyright in this
+software and any associated documentation will at all times remain
+with copyright holders.

+ +

+____________________________________
+This formulation of W3C's notice and license became active on
+August 14 1998 so as to improve compatibility with GPL. This
+version ensures that W3C software licensing terms are no more
+restrictive than GPL and consequently W3C software may be
+distributed in GPL packages. See the older formulation for the
+policy prior to this date. Please see our Copyright FAQ for common
+questions about using materials from
+our site, including specific terms and conditions for packages like
+libwww, Amaya, and Jigsaw.
+Other questions about this notice can be
+directed to site-policy@w3.org.

+ + + \ No newline at end of file diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about_files/LICENSE.sax.txt b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about_files/LICENSE.sax.txt new file mode 100644 index 0000000000..d46b3dce08 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about_files/LICENSE.sax.txt @@ -0,0 +1,20 @@ +This license came from: http://www.megginson.com/SAX/copying.html + However please note future versions of SAX may be covered + under http://saxproject.org/?selected=pd + + +This page is now out of date -- see the new SAX site at +http://www.saxproject.org/ for more up-to-date +releases and other information. Please change your bookmarks. + + +SAX2 is Free! + +I hereby abandon any property rights to SAX 2.0 (the Simple API for +XML), and release all of the SAX 2.0 source code, compiled code, and +documentation contained in this distribution into the Public Domain. +SAX comes with NO WARRANTY or guarantee of fitness for any +purpose. + +David Megginson, david@megginson.com +2000-05-05 diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about_files/NOTICE b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about_files/NOTICE new file mode 100644 index 0000000000..4c88cc6659 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about_files/NOTICE @@ -0,0 +1,26 @@ + ========================================================================= + == NOTICE file corresponding to the section 4 d of == + == the Apache License, Version 2.0, == + == in this case for the Apache Ant distribution. == + ========================================================================= + + Apache Ant + Copyright 1999-2008 The Apache Software Foundation + + This product includes software developed by + The Apache Software Foundation (http://www.apache.org/). + + This product includes also software developed by : + - the W3C consortium (http://www.w3c.org) , + - the SAX project (http://www.saxproject.org) + + The task is based on code Copyright (c) 2002, Landmark + Graphics Corp that has been kindly donated to the Apache Software + Foundation. + + Portions of this software were originally based on the following: + - software copyright (c) 1999, IBM Corporation., http://www.ibm.com. + - software copyright (c) 1999, Sun Microsystems., http://www.sun.com. + - voluntary contributions made by Paul Eng on behalf of the + Apache Software Foundation that were originally developed at iClick, Inc., + software copyright (c) 1999. diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about_files/asl-v20.txt b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about_files/asl-v20.txt new file mode 100644 index 0000000000..d645695673 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/about_files/asl-v20.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/ant b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/ant new file mode 100644 index 0000000000..2e60839241 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/ant @@ -0,0 +1,326 @@ +#! /bin/sh + +# 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. + +# Extract launch and ant arguments, (see details below). +ant_exec_args= +no_config=false +use_jikes_default=false +ant_exec_debug=false +show_help=false +for arg in "$@" ; do + if [ "$arg" = "--noconfig" ] ; then + no_config=true + elif [ "$arg" = "--usejikes" ] ; then + use_jikes_default=true + elif [ "$arg" = "--execdebug" ] ; then + ant_exec_debug=true + elif [ my"$arg" = my"--h" -o my"$arg" = my"--help" ] ; then + show_help=true + ant_exec_args="$ant_exec_args -h" + else + if [ my"$arg" = my"-h" -o my"$arg" = my"-help" ] ; then + show_help=true + fi + ant_exec_args="$ant_exec_args \"$arg\"" + fi +done + +# Source/default ant configuration +if $no_config ; then + rpm_mode=false + usejikes=$use_jikes_default +else + # load system-wide ant configuration (ONLY if ANT_HOME has NOT been set) + if [ -z "$ANT_HOME" -o "$ANT_HOME" = "/usr/share/ant" ]; then + if [ -f "/etc/ant.conf" ] ; then + . /etc/ant.conf + fi + fi + + # load user ant configuration + if [ -f "$HOME/.ant/ant.conf" ] ; then + . $HOME/.ant/ant.conf + fi + if [ -f "$HOME/.antrc" ] ; then + . "$HOME/.antrc" + fi + + # provide default configuration values + if [ -z "$rpm_mode" ] ; then + rpm_mode=false + fi + if [ -z "$usejikes" ] ; then + usejikes=$use_jikes_default + fi +fi + +# Setup Java environment in rpm mode +if $rpm_mode ; then + if [ -f /usr/share/java-utils/java-functions ] ; then + . /usr/share/java-utils/java-functions + set_jvm + set_javacmd + fi +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +case "`uname`" in + CYGWIN*) cygwin=true ;; + Darwin*) darwin=true + if [ -z "$JAVA_HOME" ] ; then + JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home + fi + ;; +esac + +if [ -z "$ANT_HOME" -o ! -d "$ANT_HOME" ] ; then + ## resolve links - $0 may be a link to ant's home + PRG="$0" + progname=`basename "$0"` + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi + done + + ANT_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + ANT_HOME=`cd "$ANT_HOME" > /dev/null && pwd` +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$ANT_HOME" ] && + ANT_HOME=`cygpath --unix "$ANT_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# set ANT_LIB location +ANT_LIB="${ANT_HOME}/lib" + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + JAVACMD="$JAVA_HOME/jre/sh/java" + elif [ -x "$JAVA_HOME/jre/bin/java" ] ; then + JAVACMD="$JAVA_HOME/jre/bin/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD=`which java 2> /dev/null ` + if [ -z "$JAVACMD" ] ; then + JAVACMD=java + fi + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." + echo " We cannot execute $JAVACMD" + exit 1 +fi + +# Build local classpath using just the launcher in non-rpm mode or +# use the Jpackage helper in rpm mode with basic and default jars +# specified in the ant.conf configuration. Because the launcher is +# used, libraries linked in ANT_HOME/lib will also be included, but this +# is discouraged as it is not java-version safe. A user should +# request optional jars and their dependencies via the OPT_JAR_LIST +# variable +if $rpm_mode && [ -x /usr/bin/build-classpath ] ; then + LOCALCLASSPATH="$(/usr/bin/build-classpath ant ant-launcher jaxp_parser_impl xml-commons-apis)" + + # If no optional jars have been specified then build the default list + if [ -z "$OPT_JAR_LIST" ] ; then + for file in /etc/ant.d/*; do + if [ -f "$file" ]; then + case "$file" in + *~) ;; + *#*) ;; + *.rpmsave) ;; + *.rpmnew) ;; + *) + for dep in `cat "$file"`; do + case "$OPT_JAR_LIST" in + *"$dep"*) ;; + *) OPT_JAR_LIST="$OPT_JAR_LIST${OPT_JAR_LIST:+ }$dep" + esac + done + esac + fi + done + fi + + # If the user requested to try to add some other jars to the classpath + if [ -n "$OPT_JAR_LIST" ] ; then + _OPTCLASSPATH="$(/usr/bin/build-classpath $OPT_JAR_LIST 2> /dev/null)" + if [ -n "$_OPTCLASSPATH" ] ; then + LOCALCLASSPATH="$LOCALCLASSPATH:$_OPTCLASSPATH" + fi + fi + + # Explicitly add javac path to classpath, assume JAVA_HOME set + # properly in rpm mode + if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then + LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar" + fi + if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then + LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip" + fi + + # if CLASSPATH_OVERRIDE env var is set, LOCALCLASSPATH will be + # user CLASSPATH first and ant-found jars after. + # In that case, the user CLASSPATH will override ant-found jars + # + # if CLASSPATH_OVERRIDE is not set, we'll have the normal behaviour + # with ant-found jars first and user CLASSPATH after + if [ -n "$CLASSPATH" ] ; then + # merge local and specified classpath + if [ -z "$LOCALCLASSPATH" ] ; then + LOCALCLASSPATH="$CLASSPATH" + elif [ -n "$CLASSPATH_OVERRIDE" ] ; then + LOCALCLASSPATH="$CLASSPATH:$LOCALCLASSPATH" + else + LOCALCLASSPATH="$LOCALCLASSPATH:$CLASSPATH" + fi + + # remove class path from launcher -cp option + CLASSPATH="" + fi +else + # not using rpm_mode; use launcher to determine classpaths + if [ -z "$LOCALCLASSPATH" ] ; then + LOCALCLASSPATH=$ANT_LIB/ant-launcher.jar + else + LOCALCLASSPATH=$ANT_LIB/ant-launcher.jar:$LOCALCLASSPATH + fi +fi + +if [ -n "$JAVA_HOME" ] ; then + # OSX hack to make Ant work with jikes + if $darwin ; then + OSXHACK="${JAVA_HOME}/../Classes" + if [ -d "${OSXHACK}" ] ; then + for i in "${OSXHACK}"/*.jar + do + JIKESPATH="$JIKESPATH:$i" + done + fi + fi +fi + +# Allow Jikes support (off by default) +if $usejikes; then + ANT_OPTS="$ANT_OPTS -Dbuild.compiler=jikes" +fi + +# For Cygwin, switch paths to appropriate format before running java +# For PATHs convert to unix format first, then to windows format to ensure +# both formats are supported. Probably this will fail on directories with ; +# in the name in the path. Let's assume that paths containing ; are more +# rare than windows style paths on cygwin. +if $cygwin; then + if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then + format=mixed + else + format=windows + fi + ANT_HOME=`cygpath --$format "$ANT_HOME"` + ANT_LIB=`cygpath --$format "$ANT_LIB"` + JAVA_HOME=`cygpath --$format "$JAVA_HOME"` + LCP_TEMP=`cygpath --path --unix "$LOCALCLASSPATH"` + LOCALCLASSPATH=`cygpath --path --$format "$LCP_TEMP"` + if [ -n "$CLASSPATH" ] ; then + CP_TEMP=`cygpath --path --unix "$CLASSPATH"` + CLASSPATH=`cygpath --path --$format "$CP_TEMP"` + fi + CYGHOME=`cygpath --$format "$HOME"` +fi + +# Show script help if requested +if $show_help ; then + echo $0 '[script options] [options] [target [target2 [target3] ..]]' + echo 'Script Options:' + echo ' --help, --h print this message and ant help' + echo ' --noconfig suppress sourcing of /etc/ant.conf,' + echo ' $HOME/.ant/ant.conf, and $HOME/.antrc' + echo ' configuration files' + echo ' --usejikes enable use of jikes by default, unless' + echo ' set explicitly in configuration files' + echo ' --execdebug print ant exec line generated by this' + echo ' launch script' + echo ' ' +fi +# add a second backslash to variables terminated by a backslash under cygwin +if $cygwin; then + case "$ANT_HOME" in + *\\ ) + ANT_HOME="$ANT_HOME\\" + ;; + esac + case "$CYGHOME" in + *\\ ) + CYGHOME="$CYGHOME\\" + ;; + esac + case "$JIKESPATH" in + *\\ ) + JIKESPATH="$JIKESPATH\\" + ;; + esac + case "$LOCALCLASSPATH" in + *\\ ) + LOCALCLASSPATH="$LOCALCLASSPATH\\" + ;; + esac + case "$CLASSPATH" in + *\\ ) + CLASSPATH="$CLASSPATH\\" + ;; + esac +fi +# Execute ant using eval/exec to preserve spaces in paths, +# java options, and ant args +ant_sys_opts= +if [ -n "$CYGHOME" ]; then + if [ -n "$JIKESPATH" ]; then + ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\" -Dcygwin.user.home=\"$CYGHOME\"" + else + ant_sys_opts="-Dcygwin.user.home=\"$CYGHOME\"" + fi +else + if [ -n "$JIKESPATH" ]; then + ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\"" + fi +fi +ant_exec_command="exec \"$JAVACMD\" $ANT_OPTS -classpath \"$LOCALCLASSPATH\" -Dant.home=\"$ANT_HOME\" -Dant.library.dir=\"$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -cp \"$CLASSPATH\" $ant_exec_args" +if $ant_exec_debug ; then + echo $ant_exec_command +fi +eval $ant_exec_command diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/ant.bat b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/ant.bat new file mode 100644 index 0000000000..6d57c81ea5 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/ant.bat @@ -0,0 +1,226 @@ +@echo off + +REM Licensed to the Apache Software Foundation (ASF) under one or more +REM contributor license agreements. See the NOTICE file distributed with +REM this work for additional information regarding copyright ownership. +REM The ASF licenses this file to You under the Apache License, Version 2.0 +REM (the "License"); you may not use this file except in compliance with +REM 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, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. + +REM This is an inordinately troublesome piece of code, particularly because it +REM tries to work on both Win9x and WinNT-based systems. If we could abandon '9x +REM support, things would be much easier, but sadly, it is not yet time. +REM Be cautious about editing this, and only add WinNT specific stuff in code that +REM only runs on WinNT. + +if "%HOME%"=="" goto homeDrivePathPre +if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat" + +:homeDrivePathPre +if "%HOMEDRIVE%%HOMEPATH%"=="" goto userProfilePre +if "%HOMEDRIVE%%HOMEPATH%"=="%HOME%" goto userProfilePre +if exist "%HOMEDRIVE%%HOMEPATH%\antrc_pre.bat" call "%HOMEDRIVE%%HOMEPATH%\antrc_pre.bat" + +:userProfilePre +if "%USERPROFILE%"=="" goto alpha +if "%USERPROFILE%"=="%HOME%" goto alpha +if "%USERPROFILE%"=="%HOMEDRIVE%%HOMEPATH%" goto alpha +if exist "%USERPROFILE%\antrc_pre.bat" call "%USERPROFILE%\antrc_pre.bat" + +:alpha + +if "%OS%"=="Windows_NT" @setlocal +if "%OS%"=="WINNT" @setlocal + +if "%ANT_HOME%"=="" goto setDefaultAntHome + +:stripAntHome +if not _%ANT_HOME:~-1%==_\ goto checkClasspath +set ANT_HOME=%ANT_HOME:~0,-1% +goto stripAntHome + +:setDefaultAntHome +rem %~dp0 is expanded pathname of the current script under NT +set ANT_HOME=%~dp0.. + +:checkClasspath +set _USE_CLASSPATH=yes +rem CLASSPATH must not be used if it is equal to "" +if "%CLASSPATH%"=="""" set _USE_CLASSPATH=no +if "%CLASSPATH%"=="" set _USE_CLASSPATH=no + +rem Slurp the command line arguments. This loop allows for an unlimited number +rem of arguments (up to the command line limit, anyway). +set ANT_CMD_LINE_ARGS=%1 +if ""%1""=="""" goto doneStart +shift +:setupArgs +if ""%1""=="""" goto doneStart +if ""%1""==""-noclasspath"" goto clearclasspath +set ANT_CMD_LINE_ARGS=%ANT_CMD_LINE_ARGS% %1 +shift +goto setupArgs + +rem here is there is a -noclasspath in the options +:clearclasspath +set _USE_CLASSPATH=no +shift +goto setupArgs + +rem This label provides a place for the argument list loop to break out +rem and for NT handling to skip to. + +:doneStart + +if _USE_CLASSPATH==no goto findAntHome + +:stripClasspath +if not _%CLASSPATH:~-1%==_\ goto findAntHome +set CLASSPATH=%CLASSPATH:~0,-1% +goto stripClasspath + +:findAntHome +rem find ANT_HOME if it does not exist due to either an invalid value passed +rem by the user or the %0 problem on Windows 9x +if exist "%ANT_HOME%\lib\ant.jar" goto checkJava + +rem check for ant in Program Files +if not exist "%ProgramFiles%\ant" goto checkSystemDrive +set ANT_HOME=%ProgramFiles%\ant +goto checkJava + +:checkSystemDrive +rem check for ant in root directory of system drive +if not exist %SystemDrive%\ant\lib\ant.jar goto checkCDrive +set ANT_HOME=%SystemDrive%\ant +goto checkJava + +:checkCDrive +rem check for ant in C:\ant for Win9X users +if not exist C:\ant\lib\ant.jar goto noAntHome +set ANT_HOME=C:\ant +goto checkJava + +:noAntHome +echo ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME. +goto end + +:checkJava +set _JAVACMD=%JAVACMD% + +if "%JAVA_HOME%" == "" goto noJavaHome +if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe +goto checkJikes + +:noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=java.exe + +:checkJikes +if not "%JIKESPATH%"=="" goto runAntWithJikes + +:runAnt +if "%_USE_CLASSPATH%"=="no" goto runAntNoClasspath +:runAntWithClasspath +"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS% +rem Check the error code of the Ant build +if not "%OS%"=="Windows_NT" goto onError +set ANT_ERROR=%ERRORLEVEL% +goto end + +:runAntNoClasspath +"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS% +rem Check the error code of the Ant build +if not "%OS%"=="Windows_NT" goto onError +set ANT_ERROR=%ERRORLEVEL% +goto end + +:runAntWithJikes + +if not _%JIKESPATH:~-1%==_\ goto checkJikesAndClasspath +set JIKESPATH=%JIKESPATH:~0,-1% +goto runAntWithJikes + +:checkJikesAndClasspath + +if "%_USE_CLASSPATH%"=="no" goto runAntWithJikesNoClasspath + +:runAntWithJikesAndClasspath +"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS% +rem Check the error code of the Ant build +if not "%OS%"=="Windows_NT" goto onError +set ANT_ERROR=%ERRORLEVEL% +goto end + +:runAntWithJikesNoClasspath +"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS% +rem Check the error code of the Ant build +if not "%OS%"=="Windows_NT" goto onError +set ANT_ERROR=%ERRORLEVEL% +goto end + +:onError +rem Windows 9x way of checking the error code. It matches via brute force. +for %%i in (1 10 100) do set err%%i= +for %%i in (0 1 2) do if errorlevel %%i00 set err100=%%i +if %err100%==2 goto onError200 +if %err100%==0 set err100= +for %%i in (0 1 2 3 4 5 6 7 8 9) do if errorlevel %err100%%%i0 set err10=%%i +if "%err100%"=="" if %err10%==0 set err10= +:onError1 +for %%i in (0 1 2 3 4 5 6 7 8 9) do if errorlevel %err100%%err10%%%i set err1=%%i +goto onErrorEnd +:onError200 +for %%i in (0 1 2 3 4 5) do if errorlevel 2%%i0 set err10=%%i +if err10==5 for %%i in (0 1 2 3 4 5) do if errorlevel 25%%i set err1=%%i +if not err10==5 goto onError1 +:onErrorEnd +set ANT_ERROR=%err100%%err10%%err1% +for %%i in (1 10 100) do set err%%i= + +:end +rem bug ID 32069: resetting an undefined env variable changes the errorlevel. +if not "%_JAVACMD%"=="" set _JAVACMD= +if not "%_ANT_CMD_LINE_ARGS%"=="" set ANT_CMD_LINE_ARGS= + +if "%ANT_ERROR%"=="0" goto mainEnd + +rem Set the return code if we are not in NT. We can only set +rem a value of 1, but it's better than nothing. +if not "%OS%"=="Windows_NT" echo 1 > nul | choice /n /c:1 + +rem Set the ERRORLEVEL if we are running NT. +if "%OS%"=="Windows_NT" color 00 + +goto omega + +:mainEnd + +rem If there were no errors, we run the post script. +if "%OS%"=="Windows_NT" @endlocal +if "%OS%"=="WINNT" @endlocal + +if "%HOME%"=="" goto homeDrivePathPost +if exist "%HOME%\antrc_post.bat" call "%HOME%\antrc_post.bat" + +:homeDrivePathPost +if "%HOMEDRIVE%%HOMEPATH%"=="" goto userProfilePost +if "%HOMEDRIVE%%HOMEPATH%"=="%HOME%" goto userProfilePost +if exist "%HOMEDRIVE%%HOMEPATH%\antrc_post.bat" call "%HOMEDRIVE%%HOMEPATH%\antrc_post.bat" + +:userProfilePost +if "%USERPROFILE%"=="" goto omega +if "%USERPROFILE%"=="%HOME%" goto omega +if "%USERPROFILE%"=="%HOMEDRIVE%%HOMEPATH%" goto omega +if exist "%USERPROFILE%\antrc_post.bat" call "%USERPROFILE%\antrc_post.bat" + +:omega + diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/ant.cmd b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/ant.cmd new file mode 100644 index 0000000000..d221a40959 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/ant.cmd @@ -0,0 +1,93 @@ +/* + 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. + + Run ant +*/ + +'@echo off' +parse arg mode envarg '::' antarg + +if mode\='.' & mode\='..' & mode\='/' then do + envarg = mode envarg + mode = '' +end + +if antarg = '' then do + antarg = envarg + envarg = '' +end + +x = setlocal() + +env="OS2ENVIRONMENT" +antenv = _getenv_('antenv') +if _testenv_() = 0 then interpret 'call "' || antenv || '"' '"' || envarg || '"' + +if mode = '' then mode = _getenv_('ANT_MODE' '..') +if mode \= '/' then do + runrc = _getenv_('runrc') + antrc = _getenv_('antrc' 'antrc.cmd') + if mode = '..' then mode = '-r' + else mode = '' + interpret 'call "' || runrc || '"' antrc '"' || mode || '"' +end + +if _testenv_() = 0 then do + say 'Ant environment is not set properly' + x = endlocal() + exit 16 +end + +settings = '-Dant.home=' || ANT_HOME '-Djava.home=' || JAVA_HOME + +java = _getenv_('javacmd' 'java') +opts = value('ANT_OPTS',,env) +args = value('ANT_ARGS',,env) +lcp = value('LOCALCLASSPATH',,env) +cp = value('CLASSPATH',,env) +if value('ANT_USE_CP',,env) \= '' then do + if lcp \= '' & right(lcp, 1) \= ';' then lcp = lcp || ';' + lcp = lcp || cp + 'SET CLASSPATH=' +end +if lcp\='' then lcp = '-classpath' lcp + +cmd = java opts lcp '-jar' ANT_HOME ||'\lib\ant-launcher.jar' settings args antarg +launcher = stream(ANT_HOME ||'\lib\ant-launcher.jar', 'C', 'query exists') +if launcher = '' then entry = 'org.apache.tools.ant.Main' +else entry = 'org.apache.tools.ant.launch.Launcher' +java opts lcp entry settings args antarg + +x = endlocal() + +return rc + +_testenv_: procedure expose env ANT_HOME JAVA_HOME +ANT_HOME = value('ANT_HOME',,env) +if ANT_HOME = '' then return 0 +JAVA_HOME = value('JAVA_HOME',,env) +if JAVA_HOME = '' then return 0 +cp = translate(value('CLASSPATH',,env)) +if pos(translate(ANT_HOME), cp) = 0 then return 0 +if pos(translate(JAVA_HOME), cp) = 0 then return 0 +return 1 + +_getenv_: procedure expose env +parse arg envar default +if default = '' then default = envar +var = value(translate(envar),,env) +if var = '' then var = default +return var diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antRun b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antRun new file mode 100644 index 0000000000..8110f86efe --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antRun @@ -0,0 +1,24 @@ +#! /bin/sh + +# 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. + +# Args: DIR command +cd "$1" +CMD="$2" +shift +shift + +exec "$CMD" "$@" diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antRun.bat b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antRun.bat new file mode 100644 index 0000000000..10d2bbc78a --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antRun.bat @@ -0,0 +1,50 @@ +@echo off + +REM Licensed to the Apache Software Foundation (ASF) under one or more +REM contributor license agreements. See the NOTICE file distributed with +REM this work for additional information regarding copyright ownership. +REM The ASF licenses this file to You under the Apache License, Version 2.0 +REM (the "License"); you may not use this file except in compliance with +REM 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, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. + +if "%OS%"=="Windows_NT" @setlocal +if "%OS%"=="WINNT" @setlocal + +if ""%1""=="""" goto runCommand + +rem Change drive and directory to %1 +if "%OS%"=="Windows_NT" goto nt_cd +if "%OS%"=="WINNT" goto nt_cd +cd ""%1"" +goto end_cd +:nt_cd +cd /d ""%1"" +:end_cd +shift + +rem Slurp the command line arguments. This loop allows for an unlimited number +rem of arguments (up to the command line limit, anyway). +set ANT_RUN_CMD=%1 +if ""%1""=="""" goto runCommand +shift +:loop +if ""%1""=="""" goto runCommand +set ANT_RUN_CMD=%ANT_RUN_CMD% %1 +shift +goto loop + +:runCommand +rem echo %ANT_RUN_CMD% +%ANT_RUN_CMD% + +if "%OS%"=="Windows_NT" @endlocal +if "%OS%"=="WINNT" @endlocal + diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antRun.pl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antRun.pl new file mode 100644 index 0000000000..dbea10f2a8 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antRun.pl @@ -0,0 +1,66 @@ +#!/usr/bin/perl +# +# 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. +# +####################################################################### +# +# antRun.pl +# +# wrapper script for invoking commands on a platform with Perl installed +# this is akin to antRun.bat, and antRun the SH script +# +# created: 2001-10-18 +# author: Jeff Tulley jtulley@novell.com +####################################################################### +#be fussy about variables +use strict; + +#turn warnings on during dev; generates a few spurious uninitialised var access warnings +#use warnings; + +#and set $debug to 1 to turn on trace info (currently unused) +my $debug=1; + +####################################################################### +# change drive and directory to "%1" +my $ANT_RUN_CMD = @ARGV[0]; + +# assign current run command to "%2" +chdir (@ARGV[0]) || die "Can't cd to $ARGV[0]: $!\n"; +if ($^O eq "NetWare") { + # There is a bug in Perl 5 on NetWare, where chdir does not + # do anything. On NetWare, the following path-prefixed form should + # always work. (afaict) + $ANT_RUN_CMD .= "/".@ARGV[1]; +} +else { + $ANT_RUN_CMD = @ARGV[1]; +} + +# dispose of the first two arguments, leaving only the command's args. +shift; +shift; + +# run the command +my $returnValue = system $ANT_RUN_CMD, @ARGV; +if ($returnValue eq 0) { + exit 0; +} +else { + # only 0 and 1 are widely recognized as exit values + # so change the exit value to 1 + exit 1; +} diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antenv.cmd b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antenv.cmd new file mode 100644 index 0000000000..170d89f346 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antenv.cmd @@ -0,0 +1,98 @@ +/* + 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. +*/ + +'@echo off' +call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs" +call SysLoadFuncs + +/* Prepare the parameters for later use */ +parse arg argv +mode = '' +args = '' +opts = '' +cp = '' +lcp = '' + +do i = 1 to words(argv) + param = word(argv, i) + select + when param='-lcp' then mode = 'l' + when param='-cp' | param='-classpath' then mode = 'c' + when abbrev('-opts', param, 4) then mode = 'o' + when abbrev('-args', param, 4) then mode = 'a' + otherwise + select + when mode = 'a' then args = space(args param, 1) + when mode = 'c' then cp = space(cp param, 1) + when mode = 'l' then lcp = space(lcp param, 1) + when mode = 'o' then opts = space(opts param, 1) + otherwise + say 'Option' param 'ignored' + end + end +end + +env="OS2ENVIRONMENT" +antconf = _getenv_('antconf' 'antconf.cmd') +runrc = _getenv_('runrc') +interpret 'call "' || runrc || '"' '"' || antconf || '"' 'ETC' +ANT_HOME = value('ANT_HOME',,env) +JAVA_HOME = value('JAVA_HOME',,env) +classpath = value('CLASSPATH',,env) +classes = stream(JAVA_HOME || "\lib\classes.zip", "C", "QUERY EXISTS") +if classes \= '' then classpath = prepend(classpath classes) +classes = stream(JAVA_HOME || "\lib\tools.jar", "C", "QUERY EXISTS") +if classes \= '' then classpath = prepend(classpath classes) + +classpath = prepend(classpath ANT_HOME || '\lib\ant-launcher.jar') +'SET CLASSPATH=' || classpath + +/* Setting classpathes, options and arguments */ +envset = _getenv_('envset') +if cp\='' then interpret 'call "' || envset || '"' '"; CLASSPATH"' '"' || cp || '"' +if lcp\='' then interpret 'call "' || envset || '"' '"; LOCALCLASSPATH"' '"' || lcp || '"' +if opts\='' then interpret 'call "' || envset || '"' '"-D ANT_OPTS"' '"' || opts || '"' +if args\='' then interpret 'call "' || envset || '"' '"ANT_ARGS"' '"' || args || '"' + +exit 0 + +addpath: procedure +parse arg path elem +if elem = '' then do + if path\='' & right(path, 1)\=';' then path = path || ';' + return path +end +if substr(path, length(path)) = ';' then glue = '' +else glue = ';' +if pos(translate(elem), translate(path)) = 0 then path = path || glue || elem || ';' +return path + +prepend: procedure +parse arg path elem +if elem = '' then do + if path\='' & right(path, 1)\=';' then path = path || ';' + return path +end +if pos(translate(elem), translate(path)) = 0 then path = elem || ';' || path +return path + +_getenv_: procedure expose env +parse arg envar default +if default = '' then default = envar +var = value(translate(envar),,env) +if var = '' then var = default +return var diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/complete-ant-cmd.pl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/complete-ant-cmd.pl new file mode 100644 index 0000000000..b58c26e15c --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/complete-ant-cmd.pl @@ -0,0 +1,114 @@ +#!/usr/bin/perl +# +# 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. +# +# A script to allow Bash or Z-Shell to complete an Ant command-line. +# +# To install for Bash 2.0 or better, add the following to ~/.bashrc: +# +# $ complete -C complete-ant-cmd ant build.sh +# +# To install for Z-Shell 2.5 or better, add the following to ~/.zshrc: +# +# function ant_complete () { +# local args_line args +# read -l args_line +# set -A args $args_line +# set -A reply $(COMP_LINE=$args_line complete-ant-cmd ${args[1]} $1) +# } +# compctl -K ant_complete ant build.sh +# +# @author Mike Williams + +my $cmdLine = $ENV{'COMP_LINE'}; +my $antCmd = $ARGV[0]; +my $word = $ARGV[1]; + +my @completions; +if ($word =~ /^-/) { + list( restrict( $word, getArguments() )); +} elsif ($cmdLine =~ /-(f|buildfile)\s+\S*$/) { + list( getBuildFiles($word) ); +} else { + list( restrict( $word, getTargets() )); +} + +exit(0); + +sub list { + for (@_) { + print "$_\n"; + } +} + +sub restrict { + my ($word, @completions) = @_; + grep( /^\Q$word\E/, @completions ); +} + +sub getArguments { + qw(-buildfile -debug -emacs -f -find -help -listener -logfile + -logger -projecthelp -quiet -verbose -version); +} + + +sub getBuildFiles { + my ($word) = @_; + grep( /\.xml$/, glob( "$word*" )); +} + +sub getTargets { + + # Look for build-file + my $buildFile = 'build.xml'; + if ($cmdLine =~ /-(f|buildfile)\s+(\S+)/) { + $buildFile = $2; + } + return () unless (-f $buildFile); + + # Run "ant -projecthelp" to list targets. Keep a cache of results in a + # cache-file. + my $cacheFile = $buildFile; + $cacheFile =~ s|(.*/)?(.*)|${1}.ant-targets-${2}|; + if ((!-e $cacheFile) || (-M $buildFile) < (-M $cacheFile)) { + open( CACHE, '>'.$cacheFile ) || die "can\'t write $cacheFile: $!\n"; + open( HELP, "$antCmd -projecthelp -f '$buildFile'|" ) || return(); + my %targets; + while( ) { + if (/^\s+(\S+)/) { + $targets{$1}++; + } + } + my @targets = sort keys %targets; + for (@targets) { print CACHE "$_\n"; } + return @targets; + } + + # Read the target-cache + open( CACHE, $cacheFile ) || die "can\'t read $cacheFile: $!\n"; + my @targets; + while () { + chop; + s/\r$//; # for Cygwin + push( @targets, $_ ); + } + close( CACHE ); + @targets; + +} + + + diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/envset.cmd b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/envset.cmd new file mode 100644 index 0000000000..3b074193e9 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/envset.cmd @@ -0,0 +1,131 @@ +/* + + 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. + +SET environment variables +First optional parameter: + ; parameters are considered parts of a path variable, semicolons are + appended to each element if not already present + -D parameters are properties for Java or Makefile etc., -D will be + prepended and the parameters will be separated by a space + =D the same as above but equal sign is not required + , parameters should be comma separated in the environment variable + - parameters should be separated by the next parameter + Other values mean that the first parameter is missing and the environment + variable will be set to the space separated parameters + +Second parameter: name of the environment variable + +Next parameters: values +; implies that the equal sign is considered a part of the parameter and is +not interpreted + +-D requires parameters in the form name=value. If the equal sign is not found, +the parameters are changed to name=expanded_name + +Other options have optional equal sign. If it is found, only the part after +the equal sign will be oprionally expanded. + +If the parameter is the minus sign, the next parameter will not be expanded. +If the parameter is a single dot, it will be replaced with the value of the +environment variable as it existed before envset was invoked. + +For other parameters the batch looks for the environment variable with the +same name (in uppercase). If it is found, it forms the expanded_name. If +the environment variable with such a name does not exist, the expanded_name +will hold the parameter name without case conversion. +*/ + +parse arg mode envar args + +equal = 0 +sep = ' ' + +/* Parse command line parameters */ +select + when mode='-' then do + sep = envar + parse var args envar args + end + when mode=';' then do + sep = '' + equal = -1 + end + when mode='-D' then equal = 1 + when mode='=D' then mode = '-D' + when mode=',' then sep = ',' +otherwise + args = envar args + envar = mode + mode = '' +end + +env = 'OS2ENVIRONMENT' +envar = translate(envar) +orig = value(envar,,env) +newval = '' +expand = 1 + +/* for each parameter... */ +do i = 1 to words(args) + if expand > 0 & word(args, i) = '-' then expand = 0 + else call addval word(args, i) +end + +/* Optionally enclose path variable by quotes */ +if mode = ';' & pos(' ', newval) > 0 then newval = '"' || newval || '"' + +/* Set the new value, 'SET' cannot be used since it does not allow '=' */ +x = value(envar, newval, env) +exit 0 + +addval: procedure expose sep equal orig expand newval mode env +parse arg var + +if var = '.' then expvar = orig +else do + if equal >= 0 then do + parse var var name '=' val + if val = '' then var = name + else var = val + end + if expand = 0 then expvar = var + else expvar = value(translate(var),,env) + if expvar = '' then expvar = var + if equal >= 0 then do + if val = '' then do + parse var expvar key '=' val + if val <> '' then name = key + else do + if equal > 0 then val = key + else name = key + end + end + else val = expvar + if pos(' ', val) > 0 | pos('=', val) > 0 then val = '"' || val || '"' + if val = '' then expvar = name + else expvar = name || '=' || val + end + if mode = '-D' then expvar = '-D' || expvar + if mode = ';' then do + if right(expvar, 1) <> ';' then expvar = expvar || ';' + end +end + +if newval = '' then newval = expvar +else newval = newval || sep || expvar +expand = 1 +return diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/lcp.bat b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/lcp.bat new file mode 100644 index 0000000000..4bf2e7ce1c --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/lcp.bat @@ -0,0 +1,31 @@ +REM +REM Licensed to the Apache Software Foundation (ASF) under one or more +REM contributor license agreements. See the NOTICE file distributed with +REM this work for additional information regarding copyright ownership. +REM The ASF licenses this file to You under the Apache License, Version 2.0 +REM (the "License"); you may not use this file except in compliance with +REM 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, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. +REM +REM + +set _CLASSPATHCOMPONENT=%1 +if ""%1""=="""" goto gotAllArgs +shift + +:argCheck +if ""%1""=="""" goto gotAllArgs +set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1 +shift +goto argCheck + +:gotAllArgs +set LOCALCLASSPATH=%LOCALCLASSPATH%;%_CLASSPATHCOMPONENT% + diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/runant.pl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/runant.pl new file mode 100644 index 0000000000..5f8307ac33 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/runant.pl @@ -0,0 +1,153 @@ +#!/usr/bin/perl +# +# 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. +# +####################################################################### +# +# runant.pl +# +# wrapper script for invoking ant in a platform with Perl installed +# this may include cgi-bin invocation, which is considered somewhat daft. +# (slo: that should be a separate file which can be derived from this +# and returns the XML formatted output) +# +# the code is not totally portable due to classpath and directory splitting +# issues. oops. (NB, use File::Spec::Functions will help and the code is +# structured for the catfile() call, but because of perl version funnies +# the code is not included. +# +# created: 2000-8-24 +# author: Steve Loughran steve_l@sourceforge.net +####################################################################### +# +# Assumptions: +# +# - the "java" executable/script is on the command path +# - ANT_HOME has been set +# - target platform uses ":" as classpath separator or perl indicates it is dos/win32 +# - target platform uses "/" as directory separator. + +#be fussy about variables +use strict; + +#platform specifics (disabled) +#use File::Spec::Functions; + +#turn warnings on during dev; generates a few spurious uninitialised var access warnings +#use warnings; + +#and set $debug to 1 to turn on trace info +my $debug=1; + +####################################################################### +# +# check to make sure environment is setup +# + +my $HOME = $ENV{ANT_HOME}; +if ($HOME eq "") + { + die "\n\nANT_HOME *MUST* be set!\n\n"; + } + +my $JAVACMD = $ENV{JAVACMD}; +$JAVACMD = "java" if $JAVACMD eq ""; + +my $onnetware = 0; +if ($^O eq "NetWare") +{ + $onnetware = 1; +} + +my $oncygwin = ($^O eq "cygwin"); + +#ISSUE: what java wants to split up classpath varies from platform to platform +#and perl is not too hot at hinting which box it is on. +#here I assume ":" 'cept on win32, dos, and netware. Add extra tests here as needed. +my $s=":"; +if(($^O eq "MSWin32") || ($^O eq "dos") || ($^O eq "cygwin") || + ($onnetware == 1)) + { + $s=";"; + } + +#build up standard classpath +my $localpath = "$HOME/lib/ant-launcher.jar"; +#set JVM options and Ant arguments, if any +my @ANT_OPTS=split(" ", $ENV{ANT_OPTS}); +my @ANT_ARGS=split(" ", $ENV{ANT_ARGS}); + +#jikes +if($ENV{JIKESPATH} ne "") + { + push @ANT_OPTS, "-Djikes.class.path=$ENV{JIKESPATH}"; + } + +#construct arguments to java +my @ARGS; +push @ARGS, @ANT_OPTS; + +my $CYGHOME = ""; + +my $classpath=$ENV{CLASSPATH}; +if ($oncygwin == 1) { + $localpath = `cygpath --path --windows $localpath`; + chomp ($localpath); + if (! $classpath eq "") + { + $classpath = `cygpath --path --windows "$classpath"`; + chomp ($classpath); + } + $HOME = `cygpath --path --windows $HOME`; + chomp ($HOME); + $CYGHOME = `cygpath --path --windows $ENV{HOME}`; + chomp ($CYGHOME); +} +push @ARGS, "-classpath", "$localpath"; +push @ARGS, "-Dant.home=$HOME"; +if ( ! $CYGHOME eq "" ) +{ + push @ARGS, "-Dcygwin.user.home=\"$CYGHOME\"" +} +push @ARGS, "org.apache.tools.ant.launch.Launcher", @ANT_ARGS; +push @ARGS, @ARGV; +if (! $classpath eq "") +{ + if ($onnetware == 1) + { + # make classpath literally $CLASSPATH + # this is to avoid pushing us over the 512 character limit + # even skip the ; - that is already in $localpath + push @ARGS, "-lib", "\$CLASSPATH"; + } + else + { + push @ARGS, "-lib", "$classpath"; + } +} +print "\n $JAVACMD @ARGS\n\n" if ($debug); + +my $returnValue = system $JAVACMD, @ARGS; +if ($returnValue eq 0) + { + exit 0; + } +else + { + # only 0 and 1 are widely recognized as exit values + # so change the exit value to 1 + exit 1; + } diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/runant.py b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/runant.py new file mode 100644 index 0000000000..eec549ebd4 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/runant.py @@ -0,0 +1,102 @@ +#!/usr/bin/python +# 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. +# + +""" + + runant.py + + This script is a translation of the runant.pl written by Steve Loughran. + It runs ant with/out arguments, it should be quite portable (thanks to + the python os library) + This script has been tested with Python2.0/Win2K + + created: 2001-04-11 + author: Pierre Dittgen pierre.dittgen@criltelecom.com + + Assumptions: + + - the "java" executable/script is on the command path +""" +import os, os.path, string, sys + +# Change it to 1 to get extra debug information +debug = 0 + +####################################################################### + +# If ANT_HOME is not set default to script's parent directory +if os.environ.has_key('ANT_HOME'): + ANT_HOME = os.environ['ANT_HOME'] +else: + ANT_HOME = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) + +# set ANT_LIB location +ANT_LIB = os.path.join(ANT_HOME, 'lib') + +# set JAVACMD (check variables JAVACMD and JAVA_HOME) +JAVACMD = None +if not os.environ.has_key('JAVACMD'): + if os.environ.has_key('JAVA_HOME'): + if not os.path.exists(os.environ['JAVA_HOME']): + print "Warning: JAVA_HOME is not defined correctly." + else: + JAVACMD = os.path.join(os.environ['JAVA_HOME'], 'bin', 'java') + else: + print "Warning: JAVA_HOME not set." +else: + JAVACMD = os.environ['JAVACMD'] +if not JAVACMD: + JAVACMD = 'java' + +launcher_jar = os.path.join(ANT_LIB, 'ant-launcher.jar') +if not os.path.exists(launcher_jar): + print 'Unable to locate ant-launcher.jar. Expected to find it in %s' % \ + ANT_LIB + +# Build up standard classpath (LOCALCLASSPATH) +LOCALCLASSPATH = launcher_jar +if os.environ.has_key('LOCALCLASSPATH'): + LOCALCLASSPATH += os.pathsep + os.environ['LOCALCLASSPATH'] + +ANT_OPTS = "" +if os.environ.has_key('ANT_OPTS'): + ANT_OPTS = os.environ['ANT_OPTS'] + +OPTS = "" +if os.environ.has_key('JIKESPATH'): + OPTS = '-Djikes.class.path=\"%s\"' % os.environ['JIKESPATH'] + +ANT_ARGS = "" +if os.environ.has_key('ANT_ARGS'): + ANT_ARGS = os.environ['ANT_ARGS'] + +CLASSPATH = "" +if os.environ.has_key('CLASSPATH'): + CLASSPATH = os.environ['CLASSPATH'] + +# Builds the commandline +cmdline = ('%s %s -classpath %s -Dant.home=%s %s ' + \ + 'org.apache.tools.ant.launch.Launcher %s -lib %s %s') \ + % (JAVACMD, ANT_OPTS, LOCALCLASSPATH, ANT_HOME, OPTS, ANT_ARGS, \ + CLASSPATH, string.join(sys.argv[1:], ' ')) + +if debug: + print '\n%s\n\n' % (cmdline) +sys.stdout.flush() + +# Run the biniou! +os.system(cmdline) diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/runrc.cmd b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/runrc.cmd new file mode 100644 index 0000000000..c68f04d4aa --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/runrc.cmd @@ -0,0 +1,60 @@ +/* + 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. + + Run RC file, name is in the first arg, second arg is either PATH + ENV or -r or nothing +*/ + +parse arg name path rest + +if name = '' then do + say 'RC file name is missing' + exit 1 +end + +if rest \= '' then do + say 'Too many parameters' + exit 1 +end + +call runit name path +exit 0 + +runit: procedure +parse arg name path dir + +if path \= '' & path \= '-r' then do + dir = value(translate(path),,'OS2ENVIRONMENT') + if dir = '' then return + dir = translate(dir, '\', '/') /* change UNIX-like path to OS/2 */ +end + +if dir = '' then dir = directory() + +if path = '-r' then do /* recursive call */ + subdir = filespec('path', dir) + if subdir \= '\' then do + subdir = left(subdir, length(subdir)-1) + call runit name path filespec('drive', dir) || subdir + end +end + +/* Look for the file and run it */ +if right(dir, 1) \= '\' then dir = dir || '\' +rcfile = stream(dir || name, 'c', 'query exists') +if rcfile \= '' then interpret 'call "' || rcfile || '"' + +return diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/changelog.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/changelog.xsl new file mode 100644 index 0000000000..c6aef8fde1 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/changelog.xsl @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="$title"/> + + + +

+ +

+

Designed for use with Apache Ant.

+
+ + + + + + + +
+ + + +
+ + + + + + + + + +
+
+
    + +
+ + +
+ + + + + + + + + + + + + mailto: + + + + + +
  • + + + + /?rev=&content-type=text/x-cvsweb-markup + + + /?r1=&r2= + + + () +
  • +
    + + + + + + +
    diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/checkstyle/checkstyle-frames.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/checkstyle/checkstyle-frames.xsl new file mode 100644 index 0000000000..abaafd6300 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/checkstyle/checkstyle-frames.xsl @@ -0,0 +1,299 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CheckStyle Audit + + + + + + + <h2>Frame Alert</h2> + <p> + This document is designed to be viewed using the frames feature. + If you see this message, you are using a non-frame-capable web client. + </p> + + + + + + + + + + + + +

    CheckStyle Audit

    Designed for use with + CheckStyle and + Ant.
    +
    +
    + + + + + + + + + + + + +
    + + + + + +
    + + + .bannercell { + border: 0px; + padding: 0px; + } + body { + margin-left: 10; + margin-right: 10; + font:normal 80% arial,helvetica,sanserif; + background-color:#FFFFFF; + color:#000000; + } + .oddrow td { + background: #efefef; + } + .evenrow td { + background: #fff; + } + th, td { + text-align: left; + vertical-align: top; + } + th { + font-weight:bold; + background: #ccc; + color: black; + } + table, th, td { + font-size:100%; + border: none + } + table.log tr td, tr th { + + } + h2 { + font-weight:bold; + font-size:140%; + margin-bottom: 5; + } + h3 { + font-size:100%; + font-weight:bold; + background: #525D76; + color: white; + text-decoration: none; + padding: 5px; + margin-right: 2px; + margin-left: 2px; + margin-bottom: 0; + } + + + + + + + + + +

    Files

    +

    + + + + + +
    +

    + + +
    + + +

    Files

    + + + + + + + + +
    NameErrors
    +
    + + + + + + + + files/.html + + + + + + + + + + + + + + files/.html + + + + + + + + + + + + + + + + + ../ + + + + + + ../ + + + + + + + + + stylesheet.css + + + + +

    File

    + + + + + + + + + + + + +
    Error DescriptionLine:Column
    :
    + + +
    +
    + + +

    Summary

    + + + + + + + + + + + + + + + +
    Total FilesFiles With ErrorsErrors
    +
    + + + + oddrow + evenrow + + +
    \ No newline at end of file diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/checkstyle/checkstyle-text.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/checkstyle/checkstyle-text.xsl new file mode 100644 index 0000000000..7359e41601 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/checkstyle/checkstyle-text.xsl @@ -0,0 +1,34 @@ + + + + + + + + + + + : + + : + + + + + + diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/checkstyle/checkstyle-xdoc.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/checkstyle/checkstyle-xdoc.xsl new file mode 100644 index 0000000000..5fc6eab380 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/checkstyle/checkstyle-xdoc.xsl @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + Checkstyle Audit + + + + + + + + + + + + +
    + + + + + + + + +
    NameErrors
    +
    +
    + + + + + + + + files.html + + + + + + + + + + + + + Checkstyle Audit + + + +
    + + + + + + + + + + + + +
    Error DescriptionLine
    +
    + +
    +
    +
    + + +
    + + + + + + + + + + + + + + + +
    FilesFiles With ErrorsErrors
    +
    +
    + + + + oddrow + evenrow + + +
    + diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/coverage-frames.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/coverage-frames.xsl new file mode 100644 index 0000000000..a55a52aa8c --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/coverage-frames.xsl @@ -0,0 +1,489 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Coverage Results. + + + + + + + + + <h2>Frame Alert</h2> + <p> + This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. + </p> + + + + + + + + .bannercell { + border: 0px; + padding: 0px; + } + body { + margin-left: 10; + margin-right: 10; + font:normal 80% arial,helvetica,sanserif; + background-color:#FFFFFF; + color:#000000; + } + .a td { + background: #efefef; + } + .b td { + background: #fff; + } + th, td { + text-align: left; + vertical-align: top; + } + th { + font-weight:bold; + background: #ccc; + color: black; + } + table, th, td { + font-size:100%; + border: none + } + table.log tr td, tr th { + + } + h2 { + font-weight:bold; + font-size:140%; + margin-bottom: 5; + } + h3 { + font-size:100%; + font-weight:bold; + background: #525D76; + color: white; + text-decoration: none; + padding: 5px; + margin-right: 2px; + margin-left: 2px; + margin-bottom: 0; + } + + + + + + + + + +

    Classes

    + + + + + + + / + .html + + + + + +
    + +
    + + +
    + + + + + + + + +

    Home

    +

    Packages

    + + + + + + + +
    + + + +
    + + +
    + + + + + + + + + +

    Summary

    + + + + + + + + + + + + + +
    Reported ClassesMethods HitLines Hit
    + + + + +
    + To ensure accurate test runs on Java applications, developers need to know how much of + the code has been tested, and where to find any untested code. Coverage helps you + locate untested code, and measure precisely how much code has been exercised. + The result is a higher quality application in a shorter period of time. +

    +

    + +

    Packages

    + + + + + + + + + + + + +
    + + + +
    + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +

    +
    + +

    Classes

    + + + + + + + +
    + +
    + + +
    + + + + + + + + + + + + +

    Package

    + + + +
    + + +

    Classes

    + + + + + +
    +
    + + + +
    + + + + + + + + + + + + +

    Class .

    + + + + + +
    + + +

    Methods

    + + + + + +
    + + + + +
    + + + + + + + + + + + + +
    + + http://jakarta.apache.org + +

    Source Code Coverage

    Designed for use with Sitraka JProbe and Ant.
    +
    +
    + + + + + + + + + Name + Methods Hit + Lines Hit + + + + + + Name + Lines Hit + + + + + + + + + + + + + + + Name + Methods Hit + Lines Hit + + + + + + + + + + + + + + + + ../ + + + + + + ../ + + + + + + + + stylesheet.css + + + + + + a + b + + + +
    + + diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/jdepend-frames.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/jdepend-frames.xsl new file mode 100644 index 0000000000..ccc9dcc205 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/jdepend-frames.xsl @@ -0,0 +1,487 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + JDepend Analysis + + + + + + + + + + <h2>Frame Alert</h2> + <p> + This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. + </p> + + + + + + + + + + + + + + + + +

    Summary

    + + [summary] + [packages] + [cycles] + [explanations] +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    PackageTotal ClassesAbstract ClassesConcrete ClassesAfferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
    + + overview-packages.html#PK + + + +
    + +
    + + +
    + + + + + + + + +

    Packages

    + + [summary] + [packages] + [cycles] + [explanations] +
    + + + +

    PK +

    + + + + + + + +
    Afferent Couplings: Efferent Couplings: Abstractness: Instability: Distance:
    + + + + + + + + + + + + + + +
    Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
    + + None + + +
    +
    +
    + + None + + +
    +
    +
    + + None + + + + overview-packages.html#PK + +
    +
    +
    + + None + + + + overview-packages.html#PK + +
    +
    +
    +
    +
    + +
    + [summary] + [packages] + [cycles] + [explanations] +
    + + +
    + + + + + + + + +

    Cycles

    + + [summary] + [packages] + [cycles] + [explanations] +
    + + + +

    There are no cyclic dependancies.

    +
    + +

    #CY

    + +
    +

    +
    + +
    + [summary] + [packages] + [cycles] + [explanations] +
    + + +
    + + + + + + + + + +

    Explanations

    + + [summary] + [packages] + [cycles] + [explanations] +
    + +

    The following explanations are for quick reference and are lifted directly from the original JDepend documentation.

    + +

    Number of Classes

    +

    The number of concrete and abstract classes (and interfaces) in the package is an indicator of the extensibility of the package.

    +

    Afferent Couplings

    +

    The number of other packages that depend upon classes within the package is an indicator of the package's responsibility.

    +

    Efferent Couplings

    +

    The number of other packages that the classes in the package depend upon is an indicator of the package's independence.

    +

    Abstractness

    +

    The ratio of the number of abstract classes (and interfaces) in the analyzed package to the total number of classes in the analyzed package.

    +

    The range for this metric is 0 to 1, with A=0 indicating a completely concrete package and A=1 indicating a completely abstract package.

    +

    Instability

    +

    The ratio of efferent coupling (Ce) to total coupling (Ce / (Ce + Ca)). This metric is an indicator of the package's resilience to change.

    +

    The range for this metric is 0 to 1, with I=0 indicating a completely stable package and I=1 indicating a completely instable package.

    +

    Distance

    +

    The perpendicular distance of a package from the idealized line A + I = 1. This metric is an indicator of the package's balance between abstractness and stability.

    +

    A package squarely on the main sequence is optimally balanced with respect to its abstractness and stability. Ideal packages are either completely abstract and stable (x=0, y=1) or completely concrete and instable (x=1, y=0).

    +

    The range for this metric is 0 to 1, with D=0 indicating a package that is coincident with the main sequence and D=1 indicating a package that is as far from the main sequence as possible.

    + + + +
    + + + + + + + + + +
    + [summary] + [packages] + [cycles] + [explanations] +
    +

    Packages

    + + + + + + + +
    + + +
    + + + + + + + + + + + + + + + + Not Analyzed: + + + + + + + + + + + +
    + [summary] + [packages] + [cycles] + [explanations] +
    +

    Cycles

    + + + + +
    + + +
    + + + + + + + + + + + +

    JDepend Analysis

    + + + + + +
    Designed for use with JDepend and Ant.
    +
    +
    + +
    diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/jdepend.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/jdepend.xsl new file mode 100644 index 0000000000..f8132975f5 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/jdepend.xsl @@ -0,0 +1,276 @@ + + + + + + + + + + + JDepend Analysis + + + + + + + + +

    JDepend Analysis

    +

    Designed for use with JDepend and Ant.

    +
    + +
    +

    Summary

    +
    + [summary] + [packages] + [cycles] + [explanations] +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    PackageTotal ClassesAbstract ClassesConcrete ClassesAfferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
    + + #PK + + + +
    + +
    + +
    +

    Packages

    +
    + [summary] + [packages] + [cycles] + [explanations] +
    + + + +

    PK +

    + + + + + + + +
    Afferent Couplings: Efferent Couplings: Abstractness: Instability: Distance:
    + + + + + + + + + + + + + + +
    Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
    + + None + + +
    +
    +
    + + None + + +
    +
    +
    + + None + + + + #PK + +
    +
    +
    + + None + + + + #PK + +
    +
    +
    +
    +
    + +
    +

    Cycles

    +
    + [summary] + [packages] + [cycles] + [explanations] +
    + + +

    There are no cyclic dependancies.

    +
    + +

    + +
    +

    +
    + +
    +

    Explanations

    +
    + [summary] + [packages] + [cycles] + [explanations] +
    + +

    The following explanations are for quick reference and are lifted directly from the original JDepend documentation.

    + +

    Number of Classes

    +

    The number of concrete and abstract classes (and interfaces) in the package is an indicator of the extensibility of the package.

    +

    Afferent Couplings

    +

    The number of other packages that depend upon classes within the package is an indicator of the package's responsibility.

    +

    Efferent Couplings

    +

    The number of other packages that the classes in the package depend upon is an indicator of the package's independence.

    +

    Abstractness

    +

    The ratio of the number of abstract classes (and interfaces) in the analyzed package to the total number of classes in the analyzed package.

    +

    The range for this metric is 0 to 1, with A=0 indicating a completely concrete package and A=1 indicating a completely abstract package.

    +

    Instability

    +

    The ratio of efferent coupling (Ce) to total coupling (Ce / (Ce + Ca)). This metric is an indicator of the package's resilience to change.

    +

    The range for this metric is 0 to 1, with I=0 indicating a completely stable package and I=1 indicating a completely instable package.

    +

    Distance

    +

    The perpendicular distance of a package from the idealized line A + I = 1. This metric is an indicator of the package's balance between abstractness and stability.

    +

    A package squarely on the main sequence is optimally balanced with respect to its abstractness and stability. Ideal packages are either completely abstract and stable (x=0, y=1) or completely concrete and instable (x=1, y=0).

    +

    The range for this metric is 0 to 1, with D=0 indicating a package that is coincident with the main sequence and D=1 indicating a package that is as far from the main sequence as possible.

    + + + +
    + +
    diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/junit-frames-xalan1.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/junit-frames-xalan1.xsl new file mode 100644 index 0000000000..8cef4cae2f --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/junit-frames-xalan1.xsl @@ -0,0 +1,719 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unit Test Results. + + + + + + + + + <h2>Frame Alert</h2> + <p> + This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. + </p> + + + + + + + +body { + font:normal 68% verdana,arial,helvetica; + color:#000000; +} +table tr td, table tr th { + font-size: 68%; +} +table.details tr th{ + font-weight: bold; + text-align:left; + background:#a6caf0; +} +table.details tr td{ + background:#eeeee0; +} + +p { + line-height:1.5em; + margin-top:0.5em; margin-bottom:1.0em; +} +h1 { + margin: 0px 0px 5px; font: 165% verdana,arial,helvetica +} +h2 { + margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica +} +h3 { + margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica +} +h4 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +h5 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +h6 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +.Error { + font-weight:bold; color:red; +} +.Failure { + font-weight:bold; color:purple; +} +.Properties { + text-align:right; +} + + + + + + + . + + + Unit Test Results: <xsl:value-of select="$class.name"/> + + + + + + + + +

    Class

    + + + + + +
    + +

    Tests

    + + + + + + + + + +
    + + + + + + + + + +
    + + + + cur = TestCases['.'] = new Array(); + + + cur[''] = ''; + + + + + + + + + + + Unit Test Classes: <xsl:value-of select="$name"/> + + + + + + + + + +
    +

    + + <none> +

    +
    + +

    Classes

    + + + + + + + +
    + +
    + + +
    + + + + + + + All Unit Test Classes + + + + + +

    Classes

    + + + + +
    + + +
    + + + + + + + + + / + .html + + + + + + + + + + + + + All Unit Test Packages + + + + + +

    Home

    +

    Packages

    + + + + +
    + + +
    + + + + + + + <none> + + + + + + + + + + Unit Test Results: Summary + + + + + + open('allclasses-frame.html','classListFrame') + +

    Summary

    + + + + + + + + + + + + + + + + + Error + Failure + Pass + + + + + + + + +
    TestsFailuresErrorsSuccess rateTime
    + + + + + + + +
    + + + + +
    + Note: failures are anticipated and checked for with assertions while errors are unanticipated. +
    + +

    Packages

    + + + + + + + + + + + Error + Failure + Pass + + + + + + + + + + + +
    + + <none> + + + + +
    + + +
    + + + + + + + + + + + + open('package-frame.html','classListFrame') + +

    Package

    + + + + + +

    Classes

    +

    + + + + + +
    +

    +
    + + +
    + + + + + + + ../ + + + + + + ../ + + + + + + + + stylesheet.css + + + + + +

    Unit Test Results

    + + + + + +
    Designed for use with JUnit and Ant.
    +
    +
    + + + + + Name + Tests + Errors + Failures + Time(s) + Time Stamp + Host + + + + + + + Name + Status + Type + Time(s) + + + + + + + + + + Error + Failure + Pass + + + + + + + + + + + + + + + + + + + + Error + Failure + TableRowColor + + + + + + Failure + + + + Error + + + + Success + + + + + + + + + + + + + + + + + + + + + + + + + N/A + + + + + +

    + + + + + + + +
    + + + + + + + + + + + + +
    + +
    + + + + + + + + + + +
    diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/junit-frames.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/junit-frames.xsl new file mode 100644 index 0000000000..9ea322a6f4 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/junit-frames.xsl @@ -0,0 +1,877 @@ + + + + + + + + +Unit Test Results. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="$TITLE"/> + + + + + + + + + <h2>Frame Alert</h2> + <p> + This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. + </p> + + + + + + + +body { + font:normal 68% verdana,arial,helvetica; + color:#000000; +} +table tr td, table tr th { + font-size: 68%; +} +table.details tr th{ + font-weight: bold; + text-align:left; + background:#a6caf0; +} +table.details tr td{ + background:#eeeee0; +} + +p { + line-height:1.5em; + margin-top:0.5em; margin-bottom:1.0em; +} +h1 { + margin: 0px 0px 5px; font: 165% verdana,arial,helvetica +} +h2 { + margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica +} +h3 { + margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica +} +h4 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +h5 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +h6 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +.Error { + font-weight:bold; color:red; +} +.Failure { + font-weight:bold; color:purple; +} +.Properties { + text-align:right; +} + + + + + + + + + + All Failures + + + All Errors + + + All Tests + + + + + Unit Test Results: <xsl:value-of select="$title"/> + + + + + + open('allclasses-frame.html','classListFrame') + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + +
    + + + + + + + . + + + Unit Test Results: <xsl:value-of select="$class.name"/> + + + + + + + + +

    Class

    + + + + + +
    + + + +

    Failures

    +
    + +

    Errors

    +
    + +

    Tests

    +
    +
    + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +
    + + + + cur = TestCases['.'] = new Array(); + + + cur[''] = ''; + + + + + + + + + + + Unit Test Classes: <xsl:value-of select="$name"/> + + + + + + + + + +
    +

    + + <none> +

    +
    + +

    Classes

    + + + + + + + +
    + +
    + + +
    + + + + + + + All Unit Test Classes + + + + + +

    Classes

    + + + + +
    + + +
    + + + + + + + + + / + _.html + + + + + + + + + + + + + All Unit Test Packages + + + + + +

    Home

    +

    Packages

    + + + + +
    + + +
    + + + + + + + <none> + + + + + + + + + + Unit Test Results: Summary + + + + + + open('allclasses-frame.html','classListFrame') + +

    Summary

    + + + + + + + + + + + + + + + + + Error + Failure + Pass + + + + + + + + +
    TestsFailuresErrorsSuccess rateTime
    + + + + + + + +
    + + + + +
    + Note: failures are anticipated and checked for with assertions while errors are unanticipated. +
    + +

    Packages

    + + + + + + + + + + + Error + Failure + Pass + + + + + + + + + + + +
    + + <none> + + + + +
    + + +
    + + + + + + + + + + + + open('package-frame.html','classListFrame') + +

    Package

    + + + + + +

    Classes

    +

    + + + + + +
    +

    +
    + + +
    + + + + + + + ../ + + + + + + ../ + + + + + + + + stylesheet.css + + + + + +

    + + + + + +
    Designed for use with JUnit and Ant.
    +
    +
    + + + + + Name + Tests + Errors + Failures + Time(s) + Time Stamp + Host + + + + + + + + + Class + + Name + Status + Type + Time(s) + + + + + + + + + + Error + Failure + Pass + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error + Failure + TableRowColor + + + + + + + + + + + + + + + + + + + + + + Failure + + + + Error + + + + Success + + + + + + + + + + + + + + + + + + + + + + + + + N/A + + + + + +

    + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/junit-noframes.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/junit-noframes.xsl new file mode 100644 index 0000000000..f0ab96416c --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/junit-noframes.xsl @@ -0,0 +1,467 @@ + + + + + + +Unit Test Results. + + + + + + <xsl:value-of select="$TITLE"/> + + + + + + + + + + +
    + + + +
    + + + +
    + + + + + + +
    + + + + + + + + +

    Packages

    + Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers. + + + + + + + + + + + + + + + + + Failure + Error + + + + + + + + + + + +
    + + + +
    +
    + + + + + + + + + + + + +

    Package

    + + + + + + +
    + Back to top +

    +

    + + + + + + + + +

    TestCase

    + + + + + + + + + + +
    + +

    + + Back to top + + + + +

    Summary

    + + + + + + + + + + + + + + + + + Failure + Error + + + + + + + + + +
    TestsFailuresErrorsSuccess rateTime
    + + + + + + + +
    + + + + +
    + Note: failures are anticipated and checked for with assertions while errors are unanticipated. +
    +
    + + + + cur = TestCases['.'] = new Array(); + + + cur[''] = ''; + + + + + +

    + + + + + +
    Designed for use with JUnit and Ant.
    +
    +
    + + + + Name + Tests + Errors + Failures + Time(s) + + + + + + + Name + Tests + Errors + Failures + Time(s) + Time Stamp + Host + + + + + + + Name + Status + Type + Time(s) + + + + + + + + + + + Failure + Error + + + + + + + + + + + + + + + + + + + + + + + Error + + + + + + Failure + + + + Error + + + + Success + + + + + + + + + + + + + + + + + + + + + + + + N/A + + + + + + +

    + + + +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/log.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/log.xsl new file mode 100644 index 0000000000..5040993b7f --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/log.xsl @@ -0,0 +1,203 @@ + + + + + + + + + + + + + + + + + + + + +
    + + http://jakarta.apache.org + + + Apache Ant +
    + + + +

    + + + + + +
    + + + + + + failed + complete + + + + + + + + + + + + + +
    Build FailedBuild CompleteTotal Time:
    + +
    + See the stacktrace. +
    +
    + + + + + +
    ant.file
    ant.version
    java.version
    os.name
    + +

    Build events

    + + + + + + + +
    targettaskmessage
    +

    + + + +

    Error details

    + + +
    +
    +
    + +

    +
    + + + + + + + a + b + + + [ ] + + + + + + +
    diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/maudit-frames.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/maudit-frames.xsl new file mode 100644 index 0000000000..257c0c8ca6 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/maudit-frames.xsl @@ -0,0 +1,503 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + Audit Results. + + + + + + + + + <H2>Frame Alert</H2> + <P> + This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. + </P> + + + + + + + + .bannercell { + border: 0px; + padding: 0px; + } + body { + margin-left: 10; + margin-right: 10; + font:normal 80% arial,helvetica,sanserif; + background-color:#FFFFFF; + color:#000000; + } + .a td { + background: #efefef; + } + .b td { + background: #fff; + } + th, td { + text-align: left; + vertical-align: top; + } + th { + font-weight:bold; + background: #ccc; + color: black; + } + table, th, td { + font-size:100%; + border: none + } + table.log tr td, tr th { + + } + h2 { + font-weight:bold; + font-size:140%; + margin-bottom: 5; + } + h3 { + font-size:100%; + font-weight:bold; + background: #525D76; + color: white; + text-decoration: none; + padding: 5px; + margin-right: 2px; + margin-left: 2px; + margin-bottom: 0; + } + + + + + + + + + + + + + + +

    Class .

    + + + + +
    + +

    Violations

    + + + + + +
    + + + +
    + + + + + + + + + + + + + + + + +
    +

    +
    + +

    Classes

    + + + + +
    + + +
    + + + + + +
    + + + + + + + + + + + + + + +

    Classes

    + + + + +
    + + +
    + + + + + + + + + + / + .html + + + + + + + + + + + + + + + + + +

    Home

    +

    Packages

    + + + + +
    + + +
    + + + + + + + + + + + + + + + + + + + + + +

    Summary

    + + + + + + + + + + + +
    Audited classesReported classesViolations
    + + + + +
    + Note: Rules checked have originated from style guidelines suggested by the language designers, + experience from the Java development community and insite experience. Violations are generally + reported with a reference to the Java Language Specifications (JLS x.x.x) + and Metamata Audit rules (x.x). + Please consult these documents for additional information about violations. +

    + Rules checked also enforce adherence to Sun Java coding guidelines in use at Jakarta. +

    + One should note that these violations do not necessary underline errors but should be used + as an indication for possible errors. As always, use your best judgment and review + them carefully, it might save you hours of debugging. +

    + +

    Packages

    + + + + + + + + + + +
    + + + +
    + + + + + + + + + + + + open('package-frame.html','classListFrame') + +

    Package

    + + + + +

    Classes

    + + + + + +
    +
    + + + +
    + + + + + + + ../ + + + + + + ../ + + + + + + + + stylesheet.css + + + + + + + + + + + + + + +
    + + http://jakarta.apache.org + +

    Source Code Audit

    Designed for use with Webgain QA/Metamata Audit and Ant.
    +
    +
    + + + + + + + + + + Name + Violations + + + + + + + Line + Message + + + + + + + + + + + + + + + + + + + + + + + + + a + b + + + + + diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/mmetrics-frames.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/mmetrics-frames.xsl new file mode 100644 index 0000000000..8b4643ad20 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/mmetrics-frames.xsl @@ -0,0 +1,1026 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + Metrics Results. + + + + + + + + + <H2>Frame Alert</H2> + <P> + This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. + </P> + + + + + + + + + + + +

    Metrics Reference

    +V(G) | +LOC | +DIT | +NOA | +NRM | +NLM | +WMC | +RFC | +DAC | +FANOUT | +CBO | +LCOM | +NOC + + +

    Cyclomatic Complexity - V(G)

    +This metric was introduced in the 1970s to measure the amount of control +flow complexity or branching complexity in a module such as a +subroutine. It gives the number of paths that may be taken through the +code, and was initially developed to give some measure of the cost of +producing a test case for the module by executing each path. +

    +Methods with a high cyclomatic complexity tend to be more difficult to +understand and maintain. In general the more complex the methods of an +application, the more difficult it will be to test it, and this will adversely +affect its reliability. +

    +V(G) is a measure of the control flow complexity of a method or +constructor. It counts the number of branches in the body of the method, +defined as: +

      +
    • while statements;
    • +
    • if statements;
    • +
    • for statements.
    • +
    + +The metric can also be configured to count each case of a switch +statement as well. + +
    +

    Lines of Code - LOC

    + +This is perhaps the simplest of all the metrics to define and compute. +Counting lines has a long history as a software metric dating from before +the rise of structured programming, and it is still in widespread use today. +The size of a method affects the ease with which it can be understood, its +reusability and its maintainability. There are a variety of ways that the size +can be calculated. These include counting all the lines of code, the number +of statements, the blank lines of code, the lines of commentary, and the +lines consisting only of syntax such as block delimiters. +

    +This metric can also be used for sizing other constructs as well, for +example, the overall size of a Java class or package can be measured by +counting the number of source lines it consists of. +

    +LOC can be used to determine the size of a compilation unit (source file), +class or interface, method, constructor, or field. It can be configured to +ignore: +

      +
    • blank lines;
    • +
    • lines consisting only of comments;
    • +
    • lines consisting only of opening and closing braces.
    • +
    + +
    +

    Depth of Inheritance Hierarchy - DIT

    + +This metric calculates how far down the inheritance hierarchy a class is +declared. In Java all classes have java.lang.Object as their ultimate +superclass, which is defined to have a depth of 1. So a class that +immediately extends java.lang.Object has a metric value of 2; any of its +subclasses will have a value of 3, and so on. +

    +A class that is deep within the tree inherits more methods and state +variables, thereby increasing its complexity and making it difficult to +predict its behavior. It can be harder to understand a system with many +inheritance layers. +

    +DIT is defined for classes and interfaces: +

      +
    • all interface types have a depth of 1;
    • +
    • the class java.lang.Object has a depth of 1;
    • +
    • all other classes have a depth of 1 + the depth of their super class.
    • +
    + +
    +

    Number of Attributes - NOA

    + +The number of distinct state variables in a class serves as one measure of +its complexity. The more state a class represents the more difficult it is to +maintain invariants for it. It also hinders comprehensibility and reuse. +

    +In Java, state can be exposed to subclasses through protected fields, which +entails that the subclass also be aware of and maintain any invariants. This +interference with the class's data encapsulation can be a source of defects +and hidden dependencies between the state variables. +

    +NOA is defined for classes and interfaces. It counts the number of fields +declared in the class or interface. + + +

    Number of Remote Methods - NRM

    + +NRM is defined for classes. A remote method call is defined as an +invocation of a method that is not declared in any of: +
      +
    • the class itself;
    • +
    • a class or interface that the class extends or implements;
    • +
    • a class or method that extends the class.
    • +
    + +The value is the count of all the remote method calls in all of the methods +and constructors of the class. + +
    +

    Number of Local Methods - NLM

    + +NLM is defined for classes and interfaces. A local method is defined as a +method that is declared in the class or interface. NLM can be configured to +include the local methods of all of the class's superclasses. Methods with +public, protected, package and private visibility can be independently +counted by setting configuration parameters. + +
    +

    Weighted Methods per Class - WMC

    + +If the number of methods in a class can be determined during the design +and modeling phase of a project, it can be used as a predictor of how +much time and effort is needed to develop, debug and maintain it. This +metric can be further refined by incorporating a weighting for the +complexity of each method. The usual weighting is given by the cyclomatic +complexity of the method. +

    +The subclasses of a class inherit all of its public and protected methods, +and possibly its package methods as well, so the number of methods a +class has directly impacts the complexity of its subclasses. Classes with +large numbers of methods are often specific to a particular application, +reducing the ability to reuse them. +

    +The definition of WMC is based upon NLM, and it provides the same +configuration parameters for counting inherited methods and of varying +visibility. The main difference is that NLM always counts each method as 1, +whereas WMC will weight each method. There are two weighting schemes: +

      +
    • V(G) the cyclomatic complexity of the method is used as its weight. + Methods from class files are given a V(G) of 1.
    • +
    • the arity, or the number of parameters of the method are used to + determine the weight.
    • +
    + +
    +

    Response For Class - RFC

    + +The response set of a class is the set of all methods that can be invoked as +a result of a message sent to an object of the class. This includes methods +in the class's inheritance hierarchy and methods that can be invoked on +other objects. The Response For Class metric is defined to be size of the +response set for the class. A class which provides a larger response set is +considered to be more complex than one with a smaller response set. +

    +One reason for this is that if a method call on a class can result in a large +number of different method calls on the target and other classes, then it +can be harder to test the behavior of the class and debug problems. It will +typically require a deeper understanding of the potential interactions that +objects of the class can have with the rest of the system. +

    +RFC is defined as the sum of NLM and NRM for the class. The local methods +include all of the public, protected, package and private methods, but not +methods declared only in a superclass. + + +

    Data Abstraction Coupling - DAC

    + +DAC is defined for classes and interfaces. It counts the number of reference +types that are used in the field declarations of the class or interface. The +component types of arrays are also counted. Any field with a type that is +either a supertype or a subtype of the class is not counted. + + +

    Fan Out - FANOUT

    + +FANOUT is defined for classes and interfaces, constructors and methods. It +counts the number of reference types that are used in: +
      +
    • field declarations;
    • +
    • formal parameters and return types;
    • +
    • throws declarations;
    • +
    • local variables.
    • +
    + +The component types of arrays are also counted. Any type that is either a +supertype or a subtype of the class is not counted. + +
    +

    Coupling Between Objects - CBO

    + +When one object or class uses another object or class they are said to be +coupled. One major source of coupling is that between a superclass and a +subclass. A coupling is also introduced when a method or field in another +class is accessed, or when an object of another class is passed into or out +of a method invocation. Coupling Between Objects is a measure of the +non-inheritance coupling between two objects. +

    +A high value of coupling reduces the modularity of the class and makes +reuse more difficult. The more independent a class is the more likely it is +that it will be possible to reuse it in another part of the system. When a +class is coupled to another class it becomes sensitive to changes in that +class, thereby making maintenance for difficult. In addition, a class that is +overly dependent on other classes can be difficult to understand and test in +isolation. +

    +CBO is defined for classes and interfaces, constructors and methods. It +counts the number of reference types that are used in: +

      +
    • field declarations
    • +
    • formal parameters and return types
    • +
    • throws declarations
    • +
    • local variables
    • +
    + +It also counts: +
      +
    • types from which field and method selections are made
    • +
    + +The component types of arrays are also counted. Any type that is either a +supertype or a subtype of the class is not counted. + +
    +

    Lack of Cohesion Of Methods - LCOM

    + +The cohesion of a class is the degree to which its methods are related to +each other. It is determined by examining the pattern of state variable +accesses within the set of methods. If all the methods access the same state +variables then they have high cohesion; if they access disjoint sets of +variables then the cohesion is low. An extreme example of low cohesion +would be if none of the methods accessed any of the state variables. + +If a class exhibits low method cohesion it indicates that the design of the +class has probably been partitioned incorrectly, and could benefit by being +split into more classes with individually higher cohesion. On the other +hand, a high value of cohesion (a low lack of cohesion) implies that the +class is well designed. A cohesive class will tend to provide a high degree +of encapsulation, whereas a lack of cohesion decreases encapsulation and +increases complexity. +

    +Another form of cohesion that is useful for Java programs is cohesion +between nested and enclosing classes. A nested class that has very low +cohesion with its enclosing class would probably better designed as a peer +class rather than a nested class. +

    +LCOM is defined for classes. Operationally, LCOM takes each pair of +methods in the class and determines the set of fields they each access. If +they have disjoint sets of field accesses increase the count P by one. If they +share at least one field access then increase Q by one. After considering +each pair of methods, +LCOM = (P > Q) ? (P - Q) : 0 +

    +Indirect access to fields via local methods can be considered by setting a +metric configuration parameter. + + +

    Number Of Classes - NOC

    + +The overall size of the system can be estimated by calculating the number +of classes it contains. A large system with more classes is more complex +than a smaller one because the number of potential interactions between +objects is higher. This reduces the comprehensibility of the system which +in turn makes it harder to test, debug and maintain. +

    +If the number of classes in the system can be projected during the initial +design phase of the project it can serve as a base for estimating the total +effort and cost of developing, debugging and maintaining the system. +

    +The NOC metric can also usefully be applied at the package and class level +as well as the total system. +

    +NOCL is defined for class and interfaces. It counts the number of classes or +interfaces that are declared. This is usually 1, but nested class declarations +will increase this number. + + + + + + + .bannercell { + border: 0px; + padding: 0px; + } + body { + margin-left: 10; + margin-right: 10; + font:normal 80% arial,helvetica,sanserif; + background-color:#FFFFFF; + color:#000000; + } + .a td { + background: #efefef; + } + .b td { + background: #fff; + } + th, td { + text-align: left; + vertical-align: top; + } + th { + font-weight:bold; + background: #ccc; + color: black; + } + table, th, td { + font-size:100%; + border: none + } + table.log tr td, tr th { + + } + h2 { + font-weight:bold; + font-size:140%; + margin-bottom: 5; + } + h3 { + font-size:100%; + font-weight:bold; + background: #525D76; + color: white; + text-decoration: none; + padding: 5px; + margin-right: 2px; + margin-left: 2px; + margin-bottom: 0; + } + .Error { + font-weight:bold; color:red; + } + + + + + + + + + + + + + + + + +

    Class .

    + + + +
    + +

    Methods

    + + + +
    + + + + +
    + + + + + + + + + + + + + + + +
    +

    +
    + +

    Classes

    + + + + + + + + +
    + +
    + + +
    + + + + + + + + + + + +

    Classes

    + + + + + +
    + + +
    + + + + + + +
    + + + / + + .html + + + + + + + + + + + + + + + + +

    Home

    +

    Packages

    + + + + +
    + + +
    + + + + + + + + + + + + + + + + + + + + + +

    Summary

    + + + + + + + + + + + + + + + + + +
    V(G)LOCDITNOANRMNLMWMCRFCDACFANOUTCBOLCOMNOCL
    + + + + +
    + Note: Metrics evaluate the quality of software by analyzing the program source and quantifying + various kind of complexity. Complexity is a common source of problems and defects in software. + High complexity makes it more difficult to develop, understand, maintain, extend, test and debug + a program. +

    + The primary use of metrics is to focus your attention on those parts of code that potentially are + complexity hot spots. Once the complex areas your program have been uncovered, you can take remedial + actions. + For additional information about metrics and their meaning, please consult + Metamata Metrics manual. +

    + +

    Packages

    + + + + + + +
    + + + + +
    + + + + + + + + + + + +

    Package

    + + + + +
    + + + + + +
    + Note: Metrics evaluate the quality of software by analyzing the program source and quantifying + various kind of complexity. Complexity is a common source of problems and defects in software. + High complexity makes it more difficult to develop, understand, maintain, extend, test and debug + a program. +

    + The primary use of metrics is to focus your attention on those parts of code that potentially are + complexity hot spots. Once the complex areas your program have been uncovered, you can take remedial + actions. + For additional information about metrics and their meaning, please consult + Metamata Metrics manual. +

    + + + +

    Classes

    + + + + + + +
    +
    + + + + +
    + + + + + + + ../ + + + + + + ../ + + + + + + + + stylesheet.css + + + + + + + + + + + + + + + +
    + + http://jakarta.apache.org + +

    Source Code Metrics

    Designed for use with Webgain QA/Metamata Metrics and Ant.
    +
    +
    + + + + + + + + + Name + V(G) + LOC + DIT + NOA + NRM + NLM + WMC + RFC + DAC + FANOUT + CBO + LCOM + NOCL + + + + + + + Name + V(G) + LOC + FANOUT + CBO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + a + b + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error + + + + +
    + diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/tagdiff.xsl b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/tagdiff.xsl new file mode 100644 index 0000000000..5d430a79da --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/etc/tagdiff.xsl @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="$title"/> + + + +

    + +

    + Tagdiff between and + +

    Designed for use with Ant.

    +
    + + + + + +
    + New Files | + Modified Files | + Removed Files +
    + + + New Files + New + + + + + Modified Files + Modified + + + + + + Removed Files + Removed + + +
    + + + +
    + + + + + + + + + + - entries + + (back to top) + + + + + + + +
      + +
    + + + + + + + + + + + + + + + + + + + + mailto: + + + + + + +
  • + + / + + + + + + + + /?rev=&content-type=text/x-cvsweb-markup + + + /?r1=&r2=&diff_format=h + + ( --> ) + + +
  • +
    + + + + + + +
    diff --git a/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/plugin.properties b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/plugin.properties new file mode 100644 index 0000000000..658714d777 --- /dev/null +++ b/org.adempiere.target.platform.feature/plugins/org.apache.ant_1.7.1.v20100518-1145/plugin.properties @@ -0,0 +1,12 @@ +############################################################################### +# Copyright (c) 2000, 2010 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +pluginName = Apache Ant +providerName = Eclipse Orbit