facebook

Import war file

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    ppolyzos
    Member

    Hi,
    I am currently using MyEclipse 6.00 M1 and I would like to know if I can import a war file.

    Thanks in advance

    #274100

    Loyal Water
    Member

    WAR files cannot be imported into the workspace in MyEclipse.

    #276221

    This message has not been recovered.

    #276260

    Riyad Kalla
    Member

    This message has not been recovered.

    #276273

    This message has not been recovered.

    #276274

    Riyad Kalla
    Member

    This message has not been recovered.

    #276482

    malashan
    Member

    Can you export a war file with source to upload in the server?

    #276486

    Riyad Kalla
    Member

    malashan,
    MyEclipse can deploy a WAR file for you, but not with Source. WAR files by their definition are not suppose to contain source.

    If you are trying to share a project with someone, try and use File > Export > Project and File > Import > Existing Project.

    If you *must* have source in your WAR file, you will likely need to do that with a custom Ant script.

    #276508

    malashan
    Member

    Earlier I was working with WSAD and now I was given a existing myeclipse project to change. It is a file system not a war file. I needed to create a war file to upload to the server to test to make sure whether we have everything in place. Then I can start to do the change.
    I am new to this environment.
    I got the following.
    src(java classes)
    web (jspfiles & WEB-INF folder with all the jars)
    .classpath
    .mymetadata
    .build.properties.sample
    .build.xml(ant script)
    My question is how can I create a war file with this.
    I tried file > export > J2EE > WAR file created a war, but when I created a project in WSAD there were no source.
    This is a working project. ANT script is also included. What am I missing?
    I need help badly, please help me!!!!!!!!!!

    Thanks,
    Mala

    #276520

    Riyad Kalla
    Member

    Mala,
    Oh yes we absolutely support that. You just need to use the Deployment tool inside of MyEclipse.

    Please take about 20mins and be sure to read through our entire Web Projects Tutorial (http://www.myeclipseide.com/documentation/quickstarts/webprojects/)

    it will quickly introduce you to the main concepts in MyEclipse and get you up and running quickly.

    #276530

    malashan
    Member

    I have to upload to SunOne Server.
    Application Server tutorial is not working, because of server down.

    Are you saying, even with the ANT script, I won’t be able to create a WAR file. I must use the deployment tool to deploy in the server. I am confused. Please explain clearly!

    When I worked with WSAD, I created WAR file and uploaded to the SunOne Server. It expects a WAR file to upload and how can I do that without a war file.

    Thanks,
    Mala

    #276554

    Riyad Kalla
    Member

    Mala I don’t know why you had problems accessing the tutorial, I checked the server logs and everything looks OK. Please try again:
    http://www.myeclipseide.com/documentation/quickstarts/webprojects/

    Are you saying, even with the ANT script, I won’t be able to create a WAR file. I must use the deployment tool to deploy in the server. I am confused. Please explain clearly!

    MyEclipse supports deploying your project using the deployment tool outlined in the tutorial above. Ant is a separate technology completely from MyEclipse, you are free to use it if you like, but you need to write your own Ant scripts, MYEclipse won’t do that for you.

    When I worked with WSAD, I created WAR file and uploaded to the SunOne Server. It expects a WAR file to upload and how can I do that without a war file.

    I thikn you are getting confused. MyEclipse *will* create a WAR file for you just fine, please take a look at the tutorial above.

    #276572

    malashan
    Member

    Thanks. It helped!

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: Import war file

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