Somehow related to this problem I find the following:
The JUnit tests for the argouml-cpp module has not been running correctly
since April.
The Configuration for running the c++ tests from within Eclipse, includes
the ant.jar from argouml-core-tools as the source. Removing it doesn't make
the tests fail.
A couple of weeks back I noticed that the junit ant task had an argument
"includeantruntime" that is "yes" by default. I thought then that it would
be a good idea to set this to "no" throughout but that we would never
experience any problem with this. Appearantly, I was wrong as we have a
problem with this. We should set this to "no" throughout.
/Linus
2008/6/15, Christian López Espínola <[EMAIL PROTECTED]>:
>
> On Windows XP SP3, executing the argouml.bat, I have an exception and
> ArgoUML doesn't launch.
>
> Executing with full log, It seems that anarres-cpp-1.2.3.jar requires
> Ant in the classpath.
>
> log4j:WARN No such property [follow] in org.apache.log4j.ConsoleAppender.
> Fatal error on startup. ArgoUML failed to start.
> java.lang.NoClassDefFoundError: org/apache/tools/ant/Task
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at java.security.SecureClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$000(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.argouml.moduleloader.ModuleLoader2.addClass(ModuleLoader2.java:7
> 4)
> at
> org.argouml.moduleloader.ModuleLoader2.processEntry(ModuleLoader2.ja
> a:680)
> at
> org.argouml.moduleloader.ModuleLoader2.processJarFile(ModuleLoader2.
> ava:614)
> at
> org.argouml.moduleloader.ModuleLoader2.huntModulesFromNamedDirectory
> ModuleLoader2.java:554)
> at
> org.argouml.moduleloader.ModuleLoader2.huntForModulesFromExtensionDi
> (ModuleLoader2.java:512)
> at
> org.argouml.moduleloader.ModuleLoader2.huntForModules(ModuleLoader2.
> ava:435)
> at
> org.argouml.moduleloader.ModuleLoader2.doInternal(ModuleLoader2.java
> 311)
> at
> org.argouml.moduleloader.ModuleLoader2.doLoad(ModuleLoader2.java:164
>
> at
> org.argouml.moduleloader.InitModuleLoader.init(InitModuleLoader.java
> 55)
> at
> org.argouml.application.SubsystemUtility.initSubsystem(SubsystemUtil
> ty.java:49)
> at org.argouml.application.Main.initializeSubsystems(Main.java:430)
> at org.argouml.application.Main.main(Main.java:169)
> Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.Task
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> ... 24 more
> Press any key to continue . . .
>
>
>
> On Sun, Jun 15, 2008 at 12:56 AM, Linus Tolke <[EMAIL PROTECTED]> wrote:
> > You can access the release from the http://argouml-downloads.tigris.org.
> >
> > Please use it to verify all resolved issues.
> >
> > /Linus
> >
>
>
>
> --
> Cheers,
>
> Christian López Espínola <penyaskito>
>