facebook

importing struts project from Weblogic Workshop to MyEclipse

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #266679 Reply

    Vaneet
    Member

    Hi,

    I am developing a struts application using Weblogic Workshop ,& now i want to do the further development in MyEcliipse .
    Can anybody tell me how can i do tht ?

    #266723 Reply

    Riyad Kalla
    Member

    Vaneet,
    Is this a single web project? If so, for starters you will want to go to File > New > Project > Web Project, and create a new web project in MyEclipse. From there you will want to drag and drop the files from the old project, into the proper locations of the new project. IN MyEclipse, the Web Project layout is essentially an “exploded WAR” format.

    You will then want to select your project and go to MyEclipse > Add Struts Capabilities. From there you will walk through the wizard and be sure to select the existing file locations for the appropriate Struts resources. Also you can uncheck the two check boxes at the bottom to add the TLDs or JAR files, since you will already have those in your project most likely.

    #266729 Reply

    Vaneet
    Member

    Hi Riyad,

    I have already done a lot of development in the project & i do not want to do drag and drop my old files in MyEclipse , since it invloves a lot of time
    Why cant i simply import the project into MyEclipse.
    Except dragging & droppingf wht options do we have in MyEclipse ?

    #266731 Reply

    Riyad Kalla
    Member

    Vaneet,
    I don’t know the project layout that Weblogic uses. If it’s a compatible layout then simply importing the project might work.

    Try this:

    1) File > Import and import the existing project into MyEclipse.
    2) Right -click on the root of the project and go to MyEclipse > Add Web Capabilities. Pay close attention to the fields in this wizard and setup your Web Root directory and so on.
    3) Right-click on the root of the projcet again and go to MYEclipse > Add Struts Capabilities, following the outline I gave you above.

    If the project was in a compatible layout (exploded WAR) then you should be all set. But if it was in an incompatible layout, then chances are that things like validation and autocomplete may not work correctly.

    #266734 Reply

    Vaneet
    Member

    Ia mnot able to import Weblogic Project into the MyEclipse Project.
    Plz give me some details on this .

    #266738 Reply

    Riyad Kalla
    Member

    Vaneet, I’m not sure how to proceed. I’ve given you two different ways to do this and you haven’t given me any information as to how your project is laid out. You haven’t mentioned any problems you have run into in detail, for example, why did neither of the suggestions I gave above work?

    #266744 Reply

    Vaneet
    Member

    Hi,

    I am not able to import my existing web project developed using Weblogic Workshop into MyEclipse at the first place.

    I hope, now u understand my problem

    #266746 Reply

    Riyad Kalla
    Member

    Vaneet if you cannot even import the project into MyEclipse then your only option is to follow my first suggestion. None of us here have worked with WebLogic Workshop, I know nothing of how the projects are laid out or stored. So besides my first suggestion I don’t have any alternatives for you, I’m sorry this didn’t end up being an easier task.

    #266749 Reply

    Vaneet
    Member

    Do u have any idea from where we can know about the layout of Web applications created in Weblogic workshop ?

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: importing struts project from Weblogic Workshop to MyEclipse

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