On Apr 3, 2005 6:09 PM, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:
Thx 4 the reply, > add the attribute srcdir="src" to your javac invocation. This did not wotk because i was calling a main within a class that in turn starts a compilation. My fault because i did not supply the actual ant target\task that caused the error, sorry 'bout that. Thx anyway, Fermin DCG > Antoine > > > Hi, > > > > Following i'v got a trace from the ant compilation i'm doing on some test > > classes. The 'normal' classes have all been compiled prior to the > > test-class run. As one can see the 'normal' classes can be found on > > the classpath > > > > fullRACCompilation: > > [echo] New Classpath: > > ... C:/eclipse/path/to/classes/model/ua/Article.class;... > > > > [echo] Start RAC compiling the unittest files > > [java] parsing src\model\ua\Article_JML_Test.java > > [java] parsing src\model\ua\Article_JML_TestData.java > > ... > > [java] File "src\model\ua\mgr\ArticleManager_JML_Test.java", line 1, > > character 1 error: Cannot find type "model.ua.Article" > > [java] File "src\model\ua\mgr\ArticleManager_JML_TestData.java", line > > 1, character 1 error: Cannot find type "model.ua.Article" > > [java] File "src\model\ua\mgr\PublicationManager_JML_Test.java", line > > 1, character 1 error: Cannot find type "model.ua.Article" > > [java] File "src\model\ua\mgr\PublicationManager_JML_TestData.java", > > line 1, character 1 error: Cannot find type "model.ua.Article" > > BUILD FAILED: > > C:\eclipse\workspace\unitedAcademics\antscripts\tasktest.xml:163: Java > > returned: 1 > > > > > > Fermin DCG > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
