-----Original Message-----
From: Matthias Bohlen [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 29, 2003 6:41 PM
To: 'Lofi Dewanto'
Subject: RE: [Andromda-user] AndroMDA comments


Hi, Lofi,

you can set the locale with
"java -Duser.language=en -Duser.country=us ..." in ant.sh or ant.bat.

However, if the error only occurs within Netbeans, first try to remove
the Netbeans libraries from the default andromda core classpath inside
andromda-core.properties. Then, the libraries will be found in the
Netbeans classpath.

Good luck!
Matthias

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Lofi Dewanto
> Sent: Saturday, November 29, 2003 5:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Andromda-user] AndroMDA comments
> 
> 
> Hi Matthias,
> 
> > the error you encountered may have several reasons. One of the most
> > common is the locale with which you start your JVM. Try 
> U.S. English,
> > first - the error is likely to vanish. If not, please
> report back to
> > the list.
> 
> can you give me more hints how to start a JVM with other locales?
> 
> But I think the problem is within the NetBeans libraries
> because I cannot start the Ant script within the NetBeans 
> IDE. Outside NetBeans the Ant script works just fine.
> 
> I've seen in the directory "andromda-bin\andromda-core\lib" these
> libraries: nbmdr.jar, openide-fs.jar and openide-lookup.jar
> 
> And the contents look quite the same as from openide.jar from
> NetBeans.
> 
> Maybe there is a version incompatibility beetwen the NetBeans
> libraries, which AndroMDA uses and the libraries, which 
> NetBeans 3.5 uses? Does 
> someone use NetBeans to develop with AndroMDA (running the 
> Ant scripts within the NetBeans IDE)?
> 
> Thanks for any helps! Greets,
> --
> ---------------------------------------------------
> Blasius Lofi Dewanto
> ---------------------------------------------------
> OpenUSS - Open University Support System 
> http://openuss.sourceforge.net
> ---------------------------------------------------
> E-Mail   : [EMAIL PROTECTED]
> ICQ      : 39343280
> ---------------------------------------------------
> 
>  >>1. INSIDE NETBEANS 3.5: I cannot start my build script
> within  >>NetBeans 3.5. It always show me this error:
>  >>---------------------------------------------------
>  >>generate.andromda:
>  >>CartridgeFinder: Cartridge found: ejb 
> java.lang.NullPointerException
>  >>           at
>  >>org.andromda.core.mdr.MDRepositoryFacade.open(MDRepositoryFaca
>  >>de.java:67)
>  >>           at
>  >>org.andromda.core.anttasks.AndroMDAGenTask.execute(AndroMDAGen
>  >>Task.java:280)
>  >>           at org.apache.tools.ant.Task.perform(Task.java:319)
>  >>           at org.apache.tools.ant.Target.execute(Target.java:309)
>  >>           at
>  >>org.apache.tools.ant.Target.performTasks(Target.java:336)
>  >>           at
>  >>org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>  >>           at
>  >>org.apache.tools.ant.Project.executeTargets(Project.java:1250)
>  >>           at
>  >>org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecu
>  >>tor.java:331)
>  >>           at
>  >>org.netbeans.core.execution.RunClassThread.run(RunClassThread.
>  >>java:118)
>  >>BUILD FAILED
>  >>Total time: 0 seconds
>  >>---------------------------------------------------
>  >>
>  >>2. OUTSIDE (from DOS/LINUX prompt) After build I always 
> see  >>this error in the file mdr.log:
>  >>---------------------------------------------------
>  >>[org.netbeans.mdr.Logger] INFORMATIONAL *********** 
> Exception occurred
>  >>************ at Fri Nov 28 20:27:14 CET 2003
>  >>org.netbeans.mdr.util.DebugException: Different storage version.
>  >>   at
>  >>org.netbeans.mdr.storagemodel.MdrStorage.initializeIndexes(Mdr
>  >>Storage.java:443)
>  >>   at
>  >>org.netbeans.mdr.storagemodel.MdrStorage.init(MdrStorage.java:387)
>  >>   at
>  >>org.netbeans.mdr.storagemodel.MdrStorage.init(MdrStorage.java:342)
>  >>   at
>  >>org.netbeans.mdr.NBMDRepositoryImpl.initCheck(NBMDRepositoryIm
>  >>pl.java:492)
>  >>   at
>  >>org.netbeans.mdr.NBMDRepositoryImpl.beginTrans(NBMDRepositoryI
>  >>mpl.java:177)
>  >>   at
>  >>org.andromda.core.mdr.MDRepositoryFacade.open(MDRepositoryFaca
>  >>de.java:67)
>  >>   at
>  >>org.andromda.core.anttasks.AndroMDAGenTask.execute(AndroMDAGen
>  >>Task.java:280)
>  >>   at org.apache.tools.ant.Task.perform(Task.java:341)
>  >>   at org.apache.tools.ant.Target.execute(Target.java:309)
>  >>   at org.apache.tools.ant.Target.performTasks(Target.java:336)
>  >>   at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
>  >>   at
>  >>org.apache.tools.ant.Project.executeTargets(Project.java:1255)
>  >>   at org.apache.tools.ant.Main.runBuild(Main.java:609)
>  >>   at org.apache.tools.ant.Main.start(Main.java:196)
>  >>   at org.apache.tools.ant.Main.main(Main.java:235)
>  >>---------------------------------------------------
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it 
> help you create better code?  SHARE THE LOVE, and help us 
> help YOU!  Click Here: http://sourceforge.net/donate/ 
> _______________________________________________
> Andromda-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-user
> 




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to