• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can't export as jar - problem with .project

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I migrated 4 projects from WSAD 4 to WSAD 5 on the same day using the same methodology. Only one of those converted project can be exported as a jar. In addition, that one project is the only one that shows up in the "J2EE" perspective. I only can see the others from the "Java" perspective. Taking this one step further I noticed that the ".project" files from the projects that I can't export are missing elements in my <natures> node. Once I manually mocked the <natures> node from the working project I am able to export the project as a jar. However, I have no idea what I am mocking up. I am afraid that I could introduce another problem by moving forward on this path. Any suggestions?
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The .project file is supposed to be created when you create the project type. For example, a java project or an ejb project.

If it is missing, it is ok to create it by copying a good one. Just make sure to change the project name entry.
reply
    Bookmark Topic Watch Topic
  • New Topic