Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

importing files to eclipse 3.1

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i developed one j2ee application without using any ide.the folder structure is like this.
myapp (root)
-assemble (generated ear file by ant build file is placed here)
-infracture(logos,javascript validations etc)
-jar
-jsp
-lib (all class files)
-src
-com(i plaaced all source files for servlets,ejbs,daos etc)
-dd( i placed deplyment descriptors here)
i am using ant to build and deploy my application.so i used the random directory structure like the above.
now my requirement is that i need to configure my application in eclipse.is it possible for me to maintain the same directory structure as above in eclipse if i import those to eclipse. how to import my application to eclipse

regards
-mohan
 
author & internet detective
Posts: 39997
807
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohan,
If you continue using Ant to build the ear, you can use any directory structure you want. Just import the project. Then set the project's source directories and set the build directory to lib.

One note: "lib" usually means 3rd party jars rather than source code .class files.
 
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic