Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » error when generate diagram code
error when generate diagram code [message #149476] Fri, 07 September 2007 16:45 Go to next message
Eclipse UserFriend
Originally posted by: riververy.yahoo.com

I always got errors when generate diagram code:

Error
Fri Sep 07 11:54:28 CDT 2007
Can't organize imports due to syntax errors in the compilation unit
DesignParserProvider.java

Error
Fri Sep 07 11:54:28 CDT 2007
Can't organize imports due to syntax errors in the compilation unit
DesignReorientConnectionViewCommand.java

I need help! I'm exhausted:(
Re: error when generate diagram code [message #149477 is a reply to message #149476] Fri, 07 September 2007 17:09 Go to previous messageGo to next message
Boris Blajer is currently offline Boris BlajerFriend
Messages: 217
Registered: July 2009
Senior Member
Hi very,

Please build the project and post here the bodies of the methods with
syntax errors. Otherwise it is impossible to understand what exactly
goes wrong in your case.

Thanks in advance and
Best regards,
Boris

very wrote:
> I always got errors when generate diagram code:
>
> Error
> Fri Sep 07 11:54:28 CDT 2007
> Can't organize imports due to syntax errors in the compilation unit
> DesignParserProvider.java
>
> Error
> Fri Sep 07 11:54:28 CDT 2007
> Can't organize imports due to syntax errors in the compilation unit
> DesignReorientConnectionViewCommand.java
>
> I need help! I'm exhausted:(
>
Re: error when generate diagram code [message #149478 is a reply to message #149477] Fri, 07 September 2007 18:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: riververy.yahoo.com

I just follow the turtorial:
http://wiki.eclipse.org/index.php/GMF_Tutorial_BPMN
and then in step: "Running Diagram with no Domain (optional) " --->
Right-click the bpmn.gmfgen model and select 'Generate diagram code'
I got the error and I can't generate diagram code.
So I don't know where's the body of the method I should post here and I
didn't touch any code at all:(
This is my first time trying gmf, so my question may sound stupid, but I
really need help!

Thanks!

"Boris Blajer" <boris.blajer@borland.com>
??????:fbs0l5$jdv$1@build.eclipse.org...
> Hi very,
>
> Please build the project and post here the bodies of the methods with
> syntax errors. Otherwise it is impossible to understand what exactly goes
> wrong in your case.
>
> Thanks in advance and
> Best regards,
> Boris
>
> very wrote:
>> I always got errors when generate diagram code:
>>
>> Error
>> Fri Sep 07 11:54:28 CDT 2007
>> Can't organize imports due to syntax errors in the compilation unit
>> DesignParserProvider.java
>>
>> Error
>> Fri Sep 07 11:54:28 CDT 2007
>> Can't organize imports due to syntax errors in the compilation unit
>> DesignReorientConnectionViewCommand.java
>>
>> I need help! I'm exhausted:(
>>
Re: error when generate diagram code [message #149479 is a reply to message #149478] Fri, 07 September 2007 17:52 Go to previous messageGo to next message
Richard Gronback is currently offline Richard GronbackFriend
Messages: 605
Registered: July 2009
Senior Member
Note that this tutorial uses 1.0 of GMF and has not been updated since. The
mindmap tutorial is probably best to begin with if you're new to GMF and
using 2.0

Best,
Rich


On 9/7/07 2:25 PM, in article fbs1ir$7ar$1@build.eclipse.org, "very"
<riververy@yahoo.com> wrote:

> I just follow the turtorial:
> http://wiki.eclipse.org/index.php/GMF_Tutorial_BPMN
> and then in step: "Running Diagram with no Domain (optional) " --->
> Right-click the bpmn.gmfgen model and select 'Generate diagram code'
> I got the error and I can't generate diagram code.
> So I don't know where's the body of the method I should post here and I
> didn't touch any code at all:(
> This is my first time trying gmf, so my question may sound stupid, but I
> really need help!
>
> Thanks!
>
> "Boris Blajer" <boris.blajer@borland.com>
> ??????:fbs0l5$jdv$1@build.eclipse.org...
>> Hi very,
>>
>> Please build the project and post here the bodies of the methods with
>> syntax errors. Otherwise it is impossible to understand what exactly goes
>> wrong in your case.
>>
>> Thanks in advance and
>> Best regards,
>> Boris
>>
>> very wrote:
>>> I always got errors when generate diagram code:
>>>
>>> Error
>>> Fri Sep 07 11:54:28 CDT 2007
>>> Can't organize imports due to syntax errors in the compilation unit
>>> DesignParserProvider.java
>>>
>>> Error
>>> Fri Sep 07 11:54:28 CDT 2007
>>> Can't organize imports due to syntax errors in the compilation unit
>>> DesignReorientConnectionViewCommand.java
>>>
>>> I need help! I'm exhausted:(
>>>
>
>
Re: error when generate diagram code [message #149485 is a reply to message #149479] Sat, 08 September 2007 16:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: riververy.yahoo.com

my friend help me fix it:
since I have to install eclipse3.3 to use gmf2.0, so I download a new
eclipse(I used eclipse3.2 before). I didn't change any default setting of
the new eclipse3.3 platform, then my friend found the default setting of
eclipse3.3 using JDK1.4(I have all JDK1.4,&5,&6 in my computer) as default,
so lots of syntax error come out because of the outdated JDK.

"Richard Gronback" <richard.gronback@borland.com>
??????:C3070833.1AF0B%richard.gronback@borland.com...
> Note that this tutorial uses 1.0 of GMF and has not been updated since.
> The
> mindmap tutorial is probably best to begin with if you're new to GMF and
> using 2.0
>
> Best,
> Rich
>
>
> On 9/7/07 2:25 PM, in article fbs1ir$7ar$1@build.eclipse.org, "very"
> <riververy@yahoo.com> wrote:
>
>> I just follow the turtorial:
>> http://wiki.eclipse.org/index.php/GMF_Tutorial_BPMN
>> and then in step: "Running Diagram with no Domain (optional) " --->
>> Right-click the bpmn.gmfgen model and select 'Generate diagram code'
>> I got the error and I can't generate diagram code.
>> So I don't know where's the body of the method I should post here and I
>> didn't touch any code at all:(
>> This is my first time trying gmf, so my question may sound stupid, but I
>> really need help!
>>
>> Thanks!
>>
>> "Boris Blajer" <boris.blajer@borland.com>
>> ??????:fbs0l5$jdv$1@build.eclipse.org...
>>> Hi very,
>>>
>>> Please build the project and post here the bodies of the methods with
>>> syntax errors. Otherwise it is impossible to understand what exactly
>>> goes
>>> wrong in your case.
>>>
>>> Thanks in advance and
>>> Best regards,
>>> Boris
>>>
>>> very wrote:
>>>> I always got errors when generate diagram code:
>>>>
>>>> Error
>>>> Fri Sep 07 11:54:28 CDT 2007
>>>> Can't organize imports due to syntax errors in the compilation unit
>>>> DesignParserProvider.java
>>>>
>>>> Error
>>>> Fri Sep 07 11:54:28 CDT 2007
>>>> Can't organize imports due to syntax errors in the compilation unit
>>>> DesignReorientConnectionViewCommand.java
>>>>
>>>> I need help! I'm exhausted:(
>>>>
>>
>>
>
Re: error when generate diagram code [message #150132 is a reply to message #149485] Tue, 11 September 2007 18:43 Go to previous message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

Could you at least post the generated parser class with errors?

very wrote:
> my friend help me fix it:
> since I have to install eclipse3.3 to use gmf2.0, so I download a new
> eclipse(I used eclipse3.2 before). I didn't change any default setting of
> the new eclipse3.3 platform, then my friend found the default setting of
> eclipse3.3 using JDK1.4(I have all JDK1.4,&5,&6 in my computer) as default,
> so lots of syntax error come out because of the outdated JDK.
>
> "Richard Gronback" <richard.gronback@borland.com>
> ??????:C3070833.1AF0B%richard.gronback@borland.com...
>> Note that this tutorial uses 1.0 of GMF and has not been updated since.
>> The
>> mindmap tutorial is probably best to begin with if you're new to GMF and
>> using 2.0
>>
>> Best,
>> Rich
>>
>>
>> On 9/7/07 2:25 PM, in article fbs1ir$7ar$1@build.eclipse.org, "very"
>> <riververy@yahoo.com> wrote:
>>
>>> I just follow the turtorial:
>>> http://wiki.eclipse.org/index.php/GMF_Tutorial_BPMN
>>> and then in step: "Running Diagram with no Domain (optional) " --->
>>> Right-click the bpmn.gmfgen model and select 'Generate diagram code'
>>> I got the error and I can't generate diagram code.
>>> So I don't know where's the body of the method I should post here and I
>>> didn't touch any code at all:(
>>> This is my first time trying gmf, so my question may sound stupid, but I
>>> really need help!
>>>
>>> Thanks!
>>>
>>> "Boris Blajer" <boris.blajer@borland.com>
>>> ??????:fbs0l5$jdv$1@build.eclipse.org...
>>>> Hi very,
>>>>
>>>> Please build the project and post here the bodies of the methods with
>>>> syntax errors. Otherwise it is impossible to understand what exactly
>>>> goes
>>>> wrong in your case.
>>>>
>>>> Thanks in advance and
>>>> Best regards,
>>>> Boris
>>>>
>>>> very wrote:
>>>>> I always got errors when generate diagram code:
>>>>>
>>>>> Error
>>>>> Fri Sep 07 11:54:28 CDT 2007
>>>>> Can't organize imports due to syntax errors in the compilation unit
>>>>> DesignParserProvider.java
>>>>>
>>>>> Error
>>>>> Fri Sep 07 11:54:28 CDT 2007
>>>>> Can't organize imports due to syntax errors in the compilation unit
>>>>> DesignReorientConnectionViewCommand.java
>>>>>
>>>>> I need help! I'm exhausted:(
>>>>>
>>>
>
>
Previous Topic:Starting point on shared EditingDomain needed
Next Topic:why createEditPolicies() of GraphicalEditPart is final ?
Goto Forum:
  


Current Time: Fri Apr 19 06:09:13 GMT 2024

Powered by FUDForum. Page generated in 0.01942 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top