[Javacad-develop] Pls do me a favor again. About JCad.
Status: Pre-Alpha
Brought to you by:
bachg
From: powergis <pow...@si...> - 2001-12-30 14:17:53
|
hi, guys, Thanks Wang and Ella Lynoure Rajamaki for your kindly helps. Ant is indeed odd to me. Now I have installed ANT 1.4.1 from the following website: http://jakarta.apache.org/builds/jakarta-ant/release/v1.4.1/bin/jakarta-ant-1.4.1-bin.zip In detail, I have install also set the environment variables, such as ANT_HOME, JAVA_HOME and ClassPath as follows. ####################################################### ClassPath=.;c:\jdk1.2.2\lib\tools.jar;C:\ant\lib\ant.jar;C:\ant\lib\jaxp.jar;C:\ant\lib\parser.jar;C:\ant\lib\crimson.jar; ####################################################### Now, I think I can use "ant JCad-compile" to compile it. Some errors occur as follows. ####################################################### C:\cvsroot\JCad>ant jcad-compile Buildfile: build.xml A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation t arget' has occurred in : 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method. Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi init: jcad-compile: [javac] Compiling 12 source files to C:\cvsroot\JCad [javac] C:\cvsroot\JCad\org\jcad\JCad\action\JCadDeleteEntityAction.java:97: Class <<ambiguous>>UndoableEdit not found in void actionPerformed(java.awt.event.ActionEvent). [javac] JCadUtil.addUndoableEdit(new JCadDeleteEntityEdit(cadgraph.getSelectedEntities())); [javac] ^ [javac] C:\cvsroot\JCad\org\jcad\JCad\action\JCadDrawArc3PAction.java:173: Class <<ambiguous>>UndoableEdit not found in void mouseClicked(java.awt.event.MouseEvent). [javac] JCadUtil.addUndoableEdit(new JCadDrawArcEdit(temparc)); [javac] ^ [javac] C:\cvsroot\JCad\org\jcad\JCad\action\JCadDrawArcAction.java:167: Class <<ambiguous>>UndoableEdit not found in void mouseClicked(java.awt.event.MouseEvent). [javac] JCadUtil.addUndoableEdit(new JCadDrawArcEdit(temparc)); . . . [javac] undo.addEdit(edit); [javac] ^ [javac] 13 errors BUILD FAILED C:\cvsroot\JCad\build.xml:34: Compile failed, messages should have been provided . Total time: 11 seconds ####################################################### I wonder whether the version of ANT cause the error. BTW, how can I use the PGP Signatures? WHether the errors are caused from the PGP Signatures? Waiting for your helps. Thx a lot! /PowerGIS ______________________________________ =================================================================== ÐÂÀËÃâ·Ñµç×ÓÓÊÏä (http://mail.sina.com.cn) ÐÂÀË·ÖÀàÐÅÏ¢:·ÖÀàÐÅÏ¢ Ë´¦µß·å? ÄúͶƱ ÎÒËͽ±! (http://classad.sina.com.cn/) ÐÂÀËÉÁ˸¶ÌÐÅÉÁÁÁµÇ³¡ ´«ÇéÎÞÏÞ (http://sms.sina.com.cn/cgi-bin/sms/smspic.cgi?spec=11&type=0) |