facebook

Importing WSAD .project files to Workbench

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #249196 Reply

    sungard_2006
    Member

    Okay….. Here is another example of what it takes to migrate from WSAD to MyEclipse.

    When I bring over a WSAD project, I also bring over the .project file. My understanding of this type of file is it builds the projects for you. Of course one can see the similarities between MyEclipse and WSAD, but there are some separations too.

    
    
    <?xml version="1.0" encoding="UTF-8"?>
    <projectDescription>
            <name>ProductWeb</name>
        <comment></comment>
        <projects>
            <project>ProductEJB</project>
        </projects>
        <buildSpec>
            <buildCommand>
                <name>com.ibm.etools.webtools.LibDirBuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>org.eclipse.jdt.core.javabuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.ibm.etools.webtools.additions.linksbuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.ibm.etools.webpage.template.templatebuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.ibm.etools.siteedit.SiteNavBuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.ibm.etools.siteedit.SiteUpdateBuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.ibm.etools.validation.validationbuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.ibm.etools.webtools.additions.jspcompilationbuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.ibm.etools.j2ee.LibCopyBuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.ibm.etools.struts.StrutsBuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.ibm.etools.ctc.serviceprojectbuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
        </buildSpec>
        <natures>
            <nature>com.ibm.etools.beaninfo.BeaninfoNature</nature>
            <nature>com.ibm.etools.j2ee.WebNature</nature>
            <nature>org.eclipse.jdt.core.javanature</nature>
            <nature>com.ibm.etools.webpage.template.templatenature</nature>
            <nature>com.ibm.etools.siteedit.WebSiteNature</nature>
            <nature>com.ibm.etools.struts.StrutsNature</nature>
            <nature>com.ibm.etools.ctc.javaprojectnature</nature>
        </natures>
    </projectDescription>
    
    
    

    When I create a new WebProject from within workbench, MyEclipse has a completely different .project file. DUH go figer, huh?

    
    <?xml version="1.0" encoding="UTF-8"?>
    <projectDescription>
        <name>TestProject</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
            <buildCommand>
                <name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>org.eclipse.jdt.core.javabuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.ibm.etools.validation.validationbuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.ibm.sse.model.structuredbuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
        </buildSpec>
        <natures>
            <nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
            <nature>org.eclipse.jdt.core.javanature</nature>
            <nature>com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature</nature>
        </natures>
    </projectDescription>
    

    The real question is do you have a translation capability or any documentation on how to convert this file from WSAD specific to a MyEclipse standard?

    Any hints, suggestions would be greatly appreciated.

    Russ

    #249200 Reply

    Riyad Kalla
    Member

    Russ,
    I’m sorry we don’t have any automation wizard or documentation specifically covering transitions from one IDE or another to MyEclipse because not only are each IDE different and support different functionalities but they also have different project layouts. The nice thing is with WTP 1.5 all the commercial IDEs (including MyEclipse) will normalize ontop of the WTP project layout so they should all come inline with one another. Until then there is some manual labor involved with moving your project over initially.

    #249235 Reply

    sungard_2006
    Member

    Rats! Rats! Rats! 👿

    Okay, this will where I’ll start with a methodology on how to do this. My first thought is to create separate projects made up of the components with the application, such as Web Project with Struts, EJB Project, WebClient, Webservices using Axis, etc. Using the “created” .project file from the new project as the starting point, substitute the new .project file for the old WSAD .project file. This should show me the gaps between the two IDEs.

    If anyone within the community knows of a better way, please share…….

    Russ

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Importing WSAD .project files to Workbench

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