Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/devel In directory vz-cvs-3.sog:/tmp/cvs-serv25634/10.7/stable/main/finkinfo/devel
Added Files: ant-base.info ant-junit.info ant-optional.info Log Message: to 10.7 --- NEW FILE: ant-base.info --- Info4: << Package: ant-base Version: 1.8.1 Revision: 2 Description: Java based build tool Type: java License: BSD Maintainer: Benjamin Reed <ant-b...@fink.raccoonfink.com> Depends: system-java (>= 1.5-1) BuildDepends: fink (>= 0.29.7-1) Replaces: ant (<< 1.6.5-1) Source: mirror:apache:ant/binaries/apache-ant-%v-bin.tar.bz2 Source-MD5: 708cf4d654869146a0ab8410b8ae67fe SourceDirectory: apache-ant-%v UseMaxBuildJobs: true CompileScript: echo "none needed" InstallScript: << #!/bin/sh -ex # Dump the entire application into %i/lib/ant mkdir -p %i/lib/ant cp -R . %i/lib/ant # make up for failing build.xml chmod -R ugo+r %i/lib/ant # docs install -d -m 755 %i/share/doc/%N/html mv %i/lib/ant/docs/* %i/share/doc/%N/html mv %i/lib/ant/lib/README %i/share/doc/%N/README.lib rm %i/lib/ant/{INSTALL,KEYS,LICENSE,NOTICE,README,WHATSNEW} rmdir %i/lib/ant/docs # binaries install -d -m 755 %i/bin cp -R bin/* %i/bin rm -f %i/bin/*.bat rm -f %i/bin/*.cmd << DocFiles: INSTALL KEYS LICENSE* NOTICE README WHATSNEW RuntimeVars: ANT_HOME: %p/lib/ant SplitOff: << Package: ant-junit Description: JUnit plugin for Ant Depends: ant-base (>= %v-%r) DocFiles: LICENSE* Files: << lib/ant/etc/junit* lib/ant/lib/*junit* << << SplitOff2: << Package: ant-optional Description: Optional tasks for Ant Depends: ant-base (>= 1.8.1-1) Recommends: << antlr (>= 2.7.4-3), bcel, commons-logging, commons-net, jakarta-bsf (>= 2.3.0-3), jakarta-oro (>= 2.0.7-1), jakarta-regexp (>= 1.3-1), javamail, jdepend (>= 2.6-4), jsch, junit, jzlib, log4j, netrexx, xalan-j << DocFiles: LICENSE* Files: << lib/ant/lib/ant-antlr.* lib/ant/lib/ant-apache-bcel.* lib/ant/lib/ant-apache-bsf.* lib/ant/lib/ant-apache-log4j.* lib/ant/lib/ant-apache-oro.* lib/ant/lib/ant-apache-regexp.* lib/ant/lib/ant-apache-resolver.* lib/ant/lib/ant-commons-logging.* lib/ant/lib/ant-commons-net.* lib/ant/lib/ant-jai.* lib/ant/lib/ant-javamail.* lib/ant/lib/ant-jdepend.* lib/ant/lib/ant-jmf.* lib/ant/lib/ant-jsch.* lib/ant/lib/ant-netrexx.* lib/ant/lib/ant-swing.* << << SplitOff3: << Package: ant Depends: << ant-base (>= %v-%r), ant-junit (>= %v-%r), ant-optional (>= %v-%r) << DocFiles: LICENSE* << Homepage: http://ant.apache.org/ DescDetail: << Ant is different. Instead of a model where it is extended with shell based commands, it is extended using Java classes. Instead of writing shell commands, the configuration files are XML based calling out a target tree where various tasks get executed. Each task is run by an object which implements a particular Task interface. Granted, this removes some of the expressive power that is inherent by being able to construct a shell command such as `find . -name foo -exec rm {}` but it gives you the ability to be cross platform. To work anywhere and everywhere. And hey, if you really need to execute a shell command, Ant has an exec rule that allows different commands to be executed based on the OS that it is executing on. << DescPort: << The chmod task of ant would fail with Java: UNIXProcess:forkAndExec: exec failed: Argument list too long because apprently it tries to chmod thousands of files in a single line of command, another solution is to set parallel to false, which cause chmod to process one file after the other but then we get a java.io.IOException: Too many open files. Conclusion was to use unix chmod in InstallScript ;-) Removed *.bat and *.cmd in bin << << --- NEW FILE: ant-junit.info --- Package: ant-junit Version: 1.7.1 Revision: 2 Maintainer: Benjamin Reed <ant-ju...@fink.racoonfink.com> # Type: java BuildDepends: fink (>= 0.22.2-1), fink-mirrors (>= 0.22.1.1-1), junit (>= 3.8.1-4), system-java-dev (>= 1.5-1) Depends: ant-base (>= %v-1), junit (>= 3.8.1-4), system-java (>= 1.5-1) Source: mirror:apache:ant/source/apache-ant-%v-src.tar.bz2 Source-MD5: 0d68db4a1ada5c91bcbf53cefd0c2fd7 SourceDirectory: apache-ant-%v PatchScript: perl -pi -e 's,java.util.ServiceLoader,fail.util.ServiceLoader,g' build.xml CompileScript: env CLASSPATH=%p/share/java/junit/junit.jar ./build.sh -Ddist.name=ant -Dchmod.fail=false dist InstallScript: << #!/bin/sh -ex mkdir -p %i/lib cp -R ant %i/lib # make up for failing build.xml chmod -R ugo+r %i/lib/ant # binaries rm %i/lib/ant/bin/*.bat mkdir -p %i/bin cd %i/bin ; ln -s ../lib/ant/bin/* . # docs mkdir -p %i/share/doc/ant cd %i/share/doc/ant ; ln -s ../../../lib/ant/docs html find "%i" ! -type d | sed -e 's,^%i,,' | grep -v junit | while read LINE; do rm "%i$LINE" || : done find "%i" ! -type d | sed -e 's,^%i,,' | grep -v junit | while read LINE; do rmdir "%i$LINE" || : done << DocFiles: KEYS LICENSE README WHATSNEW lib/README:README.lib # Description: JUnit plugin for Ant DescDetail: << This is the JUnit parts of the ant build, needed by some packages to build. << DescPackaging: << This is identical to the ant package except that it only contains the JUnit bits. << License: BSD Homepage: http://ant.apache.org/ --- NEW FILE: ant-optional.info --- Package: ant-optional Version: 1.7.1 Revision: 2 Type: java Maintainer: Benjamin Reed <ant-optio...@fink.racoonfink.com> BuildDepends: << ant-base (>= %v-1), antlr (>= 2.7.4-3), bcel, commons-logging, commons-net, jakarta-bsf (>= 2.3.0-3), jakarta-oro (>= 2.0.7-1), jakarta-regexp (>= 1.4-1), javamail, jdepend (>= 2.6-4), jsch, junit, jzlib, log4j, netrexx, stylebook, xalan-j, system-java-dev (>= 1.5-1) << Depends: << ant-base (>= %v-1), antlr (>= 2.7.4-3), bcel, commons-logging, commons-net, jakarta-bsf (>= 2.3.0-3), jakarta-oro (>= 2.0.7-1), jakarta-regexp (>= 1.3-1), javamail, jdepend (>= 2.6-4), jsch, junit, jzlib, log4j, netrexx, stylebook, xalan-j, system-java (>= 1.5-1) << Conflicts: ant (<< 1.6.5-1) Replaces: ant (<< 1.6.5-1) CustomMirror: << Primary: http://ranger.users.finkproject.org/distfiles eur-NL: http://ranger.users.finkproject.org/distfiles nam-US: http://ranger.befunk.com/fink nam-US: http://astrange.ithinksw.net/~astrange/ranger-fink nam-CA: http://www.southofheaven.net/befunk << Source: mirror:apache:ant/source/apache-ant-%v-src.tar.bz2 Source-MD5: 0d68db4a1ada5c91bcbf53cefd0c2fd7 SourceDirectory: apache-ant-%v PatchScript: perl -pi -e 's,java.util.ServiceLoader,fail.util.ServiceLoader,g' build.xml CompileScript: ./build.sh -Ddist.name=ant -Dchmod.fail=false dist InstallScript: << #!/bin/sh -ex mkdir -p %i/lib/ant/lib for package in antlr apache-bcel apache-bsf apache-log4j apache-oro apache-regexp apache-resolver commons-logging commons-net jdepend javamail jmf jsch netrexx starteam stylebook swing trax vaj weblogic do if [ -f "ant/lib/ant-$package.jar" ]; then install -c -m 644 ant/lib/ant-$package.jar %i/lib/ant/lib/ else echo "warning: ant-$package.jar was missing" fi done << SplitOff: << Package: ant Depends: ant-base (>= %v-1), ant-optional (>= %v-%r) DocFiles: INSTALL KEYS LICENSE* NOTICE README WHATSNEW << Description: Optional tasks for Ant DocFiles: INSTALL KEYS LICENSE* NOTICE README WHATSNEW DescDetail: << This package supplies the JAR files for Ant's optional tasks. << DescPort: << Some of these optional tasks require external jar files that are not necessarily part of your Fink installation. To use them, you may need to get these extra depedencies and put them in your CLASSPATH. starteam (needs com.starbase.util.Platform) vaj (needs com.ibm.ivj.util.base.Workspace) weblogic (needs weblogic.ejbc, weblogic.ejb.utils.DDCreator, and weblogic.Server) Also, note that none of the possible script engines are specified here as dependencies, even if they are available in Fink. This is due to a circular dependency in Rhino (which depends on xmlbeans, which in turn depends on this package). For now, you cannot assume that any of the script engines are available, since users may have already built this package without the script engine installed. If you need it, contact me and maybe we can figure out a way to get things working. :) << License: BSD Homepage: http://ant.apache.org/ ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs