[jbosstools-issues] [JBoss JIRA] (JBIDE-11348) Not generate clientsample codes in user-created folder on JBoss web services, only in src folder.

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Fri Apr 27 16:42:17 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688501#comment-12688501 ] 

Brian Fitzpatrick commented on JBIDE-11348:
-------------------------------------------

Hi Joseph,

Well, I was able to generate client code in a user-defined folder just like before. Just select your .apt-gen source folder on the second page of the Web Service Client wizard. The issue was more with the fact that the code being generated is being seen as invalid. 

But we found a workaround. If you go into the Java Build Path for the project, look at the Order and Export tab. Move the "JBoss 7" runtime to be above the "JRE System Library" entry. Then your code is valid again and all is good with the world.

Let me know if that works for you. Max Andersen figured that little trick out. :)

At this point we don't have a way to do the library flip flip automatically, but this is a more consistent workaround in the meantime.
                
> Not generate clientsample codes in user-created folder on JBoss web services, only in src folder.
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-11348
>                 URL: https://issues.jboss.org/browse/JBIDE-11348
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.3.0.M5
>         Environment: Eclipse Indigo 3.7.2, JBossTools 3.3
>            Reporter: Joseph Hwang
>            Assignee: Brian Fitzpatrick
>             Fix For: 3.3.0.Beta3
>
>         Attachments: client_2.jpg, client_3.jpg, client_4.jpg
>
>
> Web Services deployment is ok! But generating clientsample codes is failed in user-created folder.
> clientsample codes is generated only in default 'src' folder.
> Pls, check this thread https://community.jboss.org/thread/196669?start=0&tstart=0 .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list