You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Sean Zhou (JIRA)" <tu...@ws.apache.org> on 2007/08/30 20:20:30 UTC

[jira] Created: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

SDO command-line code generator behaves differently than standalone when invoked in Eclipse
-------------------------------------------------------------------------------------------

                 Key: TUSCANY-1638
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
             Project: Tuscany
          Issue Type: Bug
          Components: Java SDO Tools
    Affects Versions: Java-SCA-1.0
         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
            Reporter: Sean Zhou
             Fix For: Java-SCA-1.0


I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:

   1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
   2) In the new subclass, override the ensureProjectExists() method to do nothing.
   3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527498 ] 

Kelvin Goodson commented on TUSCANY-1638:
-----------------------------------------

I was trying this,  but don't see "Run as .. => Eclipse Application" in the context menu of the emitterTest project 

> SDO command-line code generator behaves differently than standalone when invoked in Eclipse
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
>            Reporter: Sean Zhou
>             Fix For: Java-SDO-Next
>
>         Attachments: 1638.patch, test1638.zip
>
>
> I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:
>    1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
>    2) In the new subclass, override the ensureProjectExists() method to do nothing.
>    3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson resolved TUSCANY-1638.
-------------------------------------

    Resolution: Fixed

Assuming this is fixed in the live environment,  since the test case passes.  Please reopen if issues still exist.

> SDO command-line code generator behaves differently than standalone when invoked in Eclipse
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
>            Reporter: Sean Zhou
>             Fix For: Java-SDO-Next
>
>         Attachments: 1638.patch, test1638.zip
>
>
> I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:
>    1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
>    2) In the new subclass, override the ensureProjectExists() method to do nothing.
>    3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

Posted by "Amita Vadhavkar (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amita Vadhavkar updated TUSCANY-1638:
-------------------------------------

    Fix Version/s:     (was: Java-SDO-Next)
                   Java-SDO-1.1

> SDO command-line code generator behaves differently than standalone when invoked in Eclipse
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
>            Reporter: Sean Zhou
>             Fix For: Java-SDO-1.1
>
>         Attachments: 1638.patch, test1638.zip
>
>
> I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:
>    1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
>    2) In the new subclass, override the ensureProjectExists() method to do nothing.
>    3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524842 ] 

Raymond Feng commented on TUSCANY-1638:
---------------------------------------

Should it be against SDO instead of SCA?

> SDO command-line code generator behaves differently than standalone when invoked in Eclipse
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SCA-1.0
>         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
>            Reporter: Sean Zhou
>             Fix For: Java-SCA-1.0
>
>
> I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:
>    1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
>    2) In the new subclass, override the ensureProjectExists() method to do nothing.
>    3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

Posted by "David T. Adcox (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David T. Adcox updated TUSCANY-1638:
------------------------------------

    Attachment: 1638.patch

In addition to the changes Kelvin has already committed for this issue, the attached patch will complete the changes needed to rectify this issue.

> SDO command-line code generator behaves differently than standalone when invoked in Eclipse
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
>            Reporter: Sean Zhou
>             Fix For: Java-SDO-Next
>
>         Attachments: 1638.patch
>
>
> I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:
>    1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
>    2) In the new subclass, override the ensureProjectExists() method to do nothing.
>    3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525075 ] 

Kelvin Goodson commented on TUSCANY-1638:
-----------------------------------------

Could you please say how you re invoking the generator and what the differences in behaviour are please?


> SDO command-line code generator behaves differently than standalone when invoked in Eclipse
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
>            Reporter: Sean Zhou
>             Fix For: Java-SDO-Next
>
>
> I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:
>    1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
>    2) In the new subclass, override the ensureProjectExists() method to do nothing.
>    3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

Posted by "Sean Zhou (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525534 ] 

Sean Zhou commented on TUSCANY-1638:
------------------------------------

The way you simulate the problem seems to be ok. I will try your updated code to see if it solves the problem. It is not easy for me to provide you a test case because I have a number of customized configurations and additional libraries around Tuscany. Thanks for making the changes.

> SDO command-line code generator behaves differently than standalone when invoked in Eclipse
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
>            Reporter: Sean Zhou
>             Fix For: Java-SDO-Next
>
>
> I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:
>    1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
>    2) In the new subclass, override the ensureProjectExists() method to do nothing.
>    3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527546 ] 

Kelvin Goodson commented on TUSCANY-1638:
-----------------------------------------

I have now run the test,  seen the failure, applied the patch and seen clean code generation, so I will commit the patch.  For reference I had to download the Eclipse Classic version of Europa,  since the Java developers version doesn't include the eclipse plugin stuff.  After that, when configuring the paths in the SampleAction class, I couldn't use an absolute path for the targetDirectory, since the test adds this to the base runtime directory of the spawned eclipse environment , so my config element looked like this ...

	IPath installIPath = new Path("C:/Dev/test1638/apache-tuscany-sca-0.99-incubating/tuscany-sca-0.99-incubating");
	String targetDirectory = "/../test1638/output/";
	String wsdlURI = "C:/Dev/test1638/AddressBook.wsdl";

I could work this out by looking at the "Run as" dialog entry for the Eclipse Application and seeing that the runtime directory was ..   ${workspace_loc}/../runtime-EclipseApplication



> SDO command-line code generator behaves differently than standalone when invoked in Eclipse
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
>            Reporter: Sean Zhou
>             Fix For: Java-SDO-Next
>
>         Attachments: 1638.patch, test1638.zip
>
>
> I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:
>    1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
>    2) In the new subclass, override the ensureProjectExists() method to do nothing.
>    3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Sebastien Delfino updated TUSCANY-1638:
--------------------------------------------

    Affects Version/s:     (was: Java-SCA-1.0)
                       Java-SDO-1.0
        Fix Version/s:     (was: Java-SCA-1.0)
                       Java-SDO-Next

Assigning to the correct SDO release.

> SDO command-line code generator behaves differently than standalone when invoked in Eclipse
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
>            Reporter: Sean Zhou
>             Fix For: Java-SDO-Next
>
>
> I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:
>    1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
>    2) In the new subclass, override the ensureProjectExists() method to do nothing.
>    3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525399 ] 

Kelvin Goodson commented on TUSCANY-1638:
-----------------------------------------

In the absence of a test case for this I manually altered the value of org.eclipse.emf.common.EMFPlugin.IS_ECLIPSE_RUNNING to true in an eclipse debug session and observed different behaviour.  I made the changes suggested and observed that the generation then proceeded OK with the variable value once again altered to true.  Please could you try out the updated code that I committed in http://svn.apache.org/viewvc?view=rev&revision=573214 and see if it fixes your problem.  I will leave the JIRA open pending your feedback.   My guess is it is not easy to provide a test case to exhibit the problem,  but if you can it would be greatly appreciated. 

> SDO command-line code generator behaves differently than standalone when invoked in Eclipse
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
>            Reporter: Sean Zhou
>             Fix For: Java-SDO-Next
>
>
> I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:
>    1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
>    2) In the new subclass, override the ensureProjectExists() method to do nothing.
>    3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

Posted by "David T. Adcox (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David T. Adcox updated TUSCANY-1638:
------------------------------------

    Attachment: test1638.zip

The attached test case involves the use of an Eclipse plugin.  The following directions are a bit lengthy, but are required to simulate the environment for reproduction of the defect.  Included in the zip file is an eclipse project directory and a sample WSDL file.

1) Unpack test1638.zip into a working directory.
2) In an Eclipse workspace, import the emitterTest project.  This can be done by right-clicking in the package explorer pane, and selecting import.
3) Navigate to the working directory created to house test1638.zip, the import tool will then show the emitterTest project.
4) This test case uses a binary distribution of Tuscany, so you will need to download 0.99 binary distribution from here: http://incubator.apache.org/tuscany/sca-java-releases.html.  Unpack this into the working directory created in step #1.
5) The Tuscany distribution location and the location of the test WSDL file need to be specified.  Open the SampleAction.java, found in the emitterTest\src\emittertest.actions directory.  Update the following values to match your test locations:

   • IPath installIPath
   • String targetDirectory 
   • String wsdlURI 

6) Execute the test case by right clicking on the emitterTest project in the package explorer and select "run as -> Eclipse Application".
7) From the new Eclipse instance, select the "Sample Menu" option and then select "Sample Action".
8) This will attempt to execute a code generation of the specified WSDL file.  If changes are not made to the 0.99 SDO libraries, this execution will fail.  Use the patch and update the SDO files in the 0.99 binary tree to fix the defect.






> SDO command-line code generator behaves differently than standalone when invoked in Eclipse
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
>            Reporter: Sean Zhou
>             Fix For: Java-SDO-Next
>
>         Attachments: 1638.patch, test1638.zip
>
>
> I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:
>    1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
>    2) In the new subclass, override the ensureProjectExists() method to do nothing.
>    3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1638) SDO command-line code generator behaves differently than standalone when invoked in Eclipse

Posted by "Sean Zhou (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527506 ] 

Sean Zhou commented on TUSCANY-1638:
------------------------------------

Is your emitterTest project a plugin project? In David's step 2 above, you may need to create a plugin project named emitterTest and then import the files of the zip into the project.

> SDO command-line code generator behaves differently than standalone when invoked in Eclipse
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.
>            Reporter: Sean Zhou
>             Fix For: Java-SDO-Next
>
>         Attachments: 1638.patch, test1638.zip
>
>
> I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:
>    1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
>    2) In the new subclass, override the ensureProjectExists() method to do nothing.
>    3) Override anything else you need to ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org