Title: [811] trunk/jopenssl/build.xml: Don't hard-code bc jar names,
instead get them off the filesystem
- Revision
- 811
- Author
- nicksieger
- Date
- 2007-11-29 09:57:47 -0500 (Thu, 29 Nov 2007)
Log Message
Don't hard-code bc jar names, instead get them off the filesystem
Modified Paths
Diff
Modified: trunk/jopenssl/build.xml (810 => 811)
--- trunk/jopenssl/build.xml 2007-11-29 13:04:36 UTC (rev 810)
+++ trunk/jopenssl/build.xml 2007-11-29 14:57:47 UTC (rev 811)
@@ -30,10 +30,16 @@
</target>
<target depends="build" name="jar" description="Build a JAR file with the generated Java class files">
+ <path id="bcpath">
+ <fileset dir="${lib.dir}" includes="bc*.jar"/>
+ </path>
+ <pathconvert property="bcjars" pathsep=" " refid="bcpath">
+ <map from="${basedir}/${lib.dir}/" to=""/>
+ </pathconvert>
<jar destfile="${lib.dir}/jopenssl.jar" basedir="${target.classes}">
<manifest>
<attribute name="Built-By" value="${user.name}"/>
- <attribute name="Class-Path" value="bcprov-jdk14-135.jar bcmail-jdk14-135.jar"/>
+ <attribute name="Class-Path" value="${bcjars}"/>
</manifest>
</jar>
</target>
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel