How to import and run ivy+ant project in eclipse juno
this is my first use of ivy+ant and after building the project from command line, i want to import it into eclipse juno. the project folder (trunk) contains the following folders/files:
i tried to import the trunk folder that contains the above files/folder using import existing projects into workspace, but i get the error that no projects found .
pleases advise how to import this project.
UPDATE : i tried to configure the project for eclipse before importing using the following command:
ant eclipse-default
but i get the following error:
Target "eclipse-default" does not exist in the project
UPDATE 2:
i was able to import the project in eclipse as follows
File > New > Other > Java Project From Existing Ant Buildfile
but when trying to run the project on server, i can't find run on server in the run options, please advise.
You may try this:
ivysettings.xml
or your Ivy setting file, Property files build.properties
or your Ant properties file. You can not import a project of you do not have the eclipse project information in your code. Either create a new eclipse project from existing source. Or a new java project from ant buildfile (your update 2).
For running need configuration of server (hard to know what youneed there), you may need to create new server (preference/server/run time environnement) (or from view server, right click "new")
链接地址: http://www.djcxy.com/p/44382.html