facebook

Struts flow modeler – codegeneration

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #217059 Reply

    I resently started in a new job, here the complete j2ee project is checked out from CVS to a single java project (and build/deploy is done by maven).

    This means that we have several src folders (for util, ejb, web, and test for each) within the project.

    The problem is that the struts flow modeler outputs generated code to the first src folder in the classpath (which isn’t the web folder), so the question is:
    Is there a way to point struts codegeneration to a specific src folder“?

    Thanks

    #217062 Reply

    Oh… BTW I’m running:
    Eclipse 3.0.0 (fresh install)
    MyEclipse 3.8.2
    on a Win2K

    #217082 Reply

    Scott Anderson
    Participant

    Torben,

    You’ll likely have to convert the project to a MyEclipse Web Project (Add Web Project Capabilities from the MyEclipse menu). At that point you can specify what diretory is really the web root. Java projects have no concept of this.

    #217111 Reply

    Sorry.
    It has been converted to a Web project and Struts Capabilities added (or else struts flow modeler wouldn’t work), the problem dosn’t lie in the webroot folder but in the placement of autogenereted files (Actions.java and Forms.java). You can choose where to place the .JSPs within the wizard but not which source folder to place the sources.java in.

    we have several src folders (for util, ejb, web, and test for each) within the project

    The “generator” automatically places the sources in the first sourcefolder in the classpath, I want to choose a different one.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Struts flow modeler – codegeneration

You must be logged in to post in the forum log in