Hi Bogdan,
Well, I presumed that an application that replaces the Main.main() of
ArgoUML, wants to have its own version numbering... So, I designed the
org.argouml.application package, which contains Main, to be the top package,
i.e. a package that is not used by anyone else. And since the ArgoVersion
class is intentionally used only by Main, I made it not public.
But maybe, on second thought, we should keep the ArgoUML version accessable
to ArgoEclipse, even if you have your own version - like "ArgoEclipse V0.5
based on ArgoUML V0.25.3".
However, that would make the split between ArgoVersion and
ApplicationVersion unnecessary.
I will think about a better solution. Any tips welcome.
Regards,
Michiel
----- Original Message -----
From: "Bogdan Ciprian Pistol" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, May 09, 2007 6:15 PM
Subject: Re: Exception Running Argoeclipse (SVN)
Hi Michiel,
Thanks for the tip, "ApplicationVersion.init()" was the cause of those
nasty errors.
Why org.argouml.application.ArgoVersion is package visible and not public?
I used a hard coded string for the ArgoUML version instead of
ArgoVersion.getVersion()
Bogdan,
On 5/9/07, Michiel van der Wulp <[EMAIL PROTECTED]> wrote:
Hi All,
I suspect that this statement:
ApplicationVersion.init(ArgoVersion.getVersion());
has to be added to the initialisation or ArgoEclipse,
just like it was added to ArgoUML's Main.main() recently by me.
Regards,
Michiel
----- Original Message -----
From: "Bob Tarling" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, May 09, 2007 4:54 PM
Subject: Re: Exception Running Argoeclipse (SVN)
> With problems of this sort I would suggest you first try to replicate
> the same in latest SVN of ArgoUML running stand-alone.
>
> If you get the same problem there then report in the ArgoUML project.
>
> I'd be surprised if ArgoEclipse would be the cause of the problems you
> mention.
>
> Regards
>
> Bob.
>
>
> On 09/05/07, Martin Dittmar <[EMAIL PROTECTED]> wrote:
>> Bogdan, thank you for your quick response! ArgoEclipse now is starting
>> fine!
>>
>> Still there is another problem I can't solve... On creating an argoUML
>> file I get an error message:
>>
>> A problem occurred while saving :
>> "org.tigris.gef.ocl.ExpansionException: Evaluated the expression
>> 'self.version' to null on object class org.argouml.kernel.Project at
>> line 5". Your file might be corrupted.
>>
>> and
>>
>> org.argouml.persistence.SaveException:
>> org.tigris.gef.ocl.ExpansionException: Evaluated the expression
>> 'self.version' to null on object of class org.argouml.kernel.Project
>> at
>> line 5
>>
>> In the "About ArgoUML" Dialog box the version is "vnull"
>>
>> Also I get other NullPointerExceptions, e.g. by directly editing class
>> names in the diagram.
>>
>> Can you give hints how to solve this?
>>
>> Thanks,
>> Martin
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition. Version: 7.5.467 / Virus Database:
> 269.6.6/794 - Release Date: 8/05/2007 14:23
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.467 / Virus Database:
269.6.6/794 - Release Date: 8/05/2007 14:23
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]