用 ant编译编译开源软件openacs时出错.
D:\work\skyhopper\acs_server\openacs-src-0.3\openacs>ant
Buildfile: build.xml
make:
make:
make:
[javac] Compiling 114 source files to D:\work\skyhopper\acs_server\openacs-s
rc-0.3\openacs\acs-ejb\build\jar
BUILD FAILED
D:\work\skyhopper\acs_server\openacs-src-0.3\openacs\build.xml:13: The following
error occurred while executing this line:
D:\work\skyhopper\acs_server\openacs-src-0.3\openacs\acs-war\b.xml:9: The follow
ing error occurred while executing this line:
D:\work\skyhopper\acs_server\openacs-src-0.3\openacs\acs-ejb\b.xml:24: C:\Progra
m Files\jboss-4.2.2.GA\server\default\lib not found.
Total time: 0 seconds
////////////////
acs-ejb\b.xml如下
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="make" name="acs-war-impl">
<property file="../build.properties"/>
<target name="clean">
<delete dir="build"/>
<delete dir="dist"/>
</target>
<target name="make">
<mkdir dir="build"/>
<mkdir dir="build/jar"/>
<copy todir="build/jar/META-INF">
<fileset dir="src/conf"/>
</copy>
<mkdir dir="build/jar/META-INF/wsdl"/>
<manifest file="build/jar/META-INF/MANIFEST.MF" mode="update">
<attribute name="Class-Path" value="js.jar"/>
</manifest>
<taskdef classname="com.sun.xml.rpc.tools.ant.Wscompile" name="wscompile">
<classpath path="${wscompile.lib}"/>
</taskdef>
<javac destdir="build/jar" fork="yes" includeantruntime="false" srcdir="src/java" target="1.5" debug="on">
<classpath>
<fileset dir="${j2ee.lib}"> <include name="**/*.jar"/> </fileset>
<fileset dir="lib"> <include name="**/*.jar"/> </fileset>
<path path="@{classpath}"/>
</classpath>
<compilerarg line="-Xlint:unchecked"/>
</javac>