Hi! I'm trying out this thing I'm having a little problem. The rmic directive doesn't work? Whats wrong?
Thanks, Michael B. Allen [EMAIL PROTECTED] http://jcifs.samba.org - MS Windows File and Print Sharing API in 100% Java [EMAIL PROTECTED] swooshmail]$ ./build.sh client Buildfile: build.xml Detected Java Version: 1.2 Project base dir set to: /home/miallen/NYU/vjkproj/swooshmail BUILD CONFIG ERROR: Configuration property "classname" does not have a setMethod in class org.apache.tools.ant.taskdefs.Rmic org.apache.tools.ant.BuildException: Configuration property "classname" does not have a setMethod in class org.apache.tools.ant.taskdefs.Rmic at org.apache.tools.ant.ProjectHelper.configureTask(ProjectHelper.java, Compiled Code) at org.apache.tools.ant.ProjectHelper.configureTasks(ProjectHelper.java, Compiled Code) at org.apache.tools.ant.ProjectHelper.configureTargets(ProjectHelper.java:204) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:139) at org.apache.tools.ant.Main.runBuild(Main.java:209) at org.apache.tools.ant.Main.main(Main.java:173) Exception in thread "main" java.lang.NullPointerException at org.apache.tools.ant.Main.exit(Main.java:272) at org.apache.tools.ant.Main.runBuild(Main.java:214) at org.apache.tools.ant.Main.main(Main.java:173) ------ Here's the build.xml <project name="swooshmail" default="main" basedir="."> <property name="classpath" value="lib/jini-core.jar:lib/jini-ext.jar:lib/sun-util.jar:."/> <target name="main"> <echo message=""/> <echo message="targets:"/> <echo message=" bin/build client - build client code"/> <echo message=" bin/build server - build server code"/> <echo message=" bin/build clean - remove build directory"/> <echo message=" bin/build doc - make javadoc"/> <echo message=""/> </target> <target name="client"> <mkdir dir="swooshmail"/> <javac srcdir="src" destdir="swooshmail" classpath="${classpath}" debug="on" deprecation="on"/> <rmic classname="swooshmail.SwooshMailImpl" base="swooshmail"/> </target> <target name="clean"> <deltree dir="swooshmail"/> </target> </project>
