Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2007

Tip: Looking for answers? Try searching our database.

Eclipse Plugin: how to modify perl build path from an eclipse Plugin java class

Thread view: 
eser@libero.it - 07 Sep 2007 11:16 GMT
Hi!
I developed an eclipse plugin who creates projects of "perl nature"
with a particular path: I must modify the perl build path but I don't
know what I have to do... My code now is:

IWorkspace work=ResourcesPlugin.getWorkspace();

IWorkspaceRoot workRoot=ResourcesPlugin.getWorkspace().getRoot();

IProject newProject=workRoot.getProject(name);

IProjectDescription
newProjectDescription=work.newProjectDescription(name);

String[] natureId=new String[1];

natureId[0]="org.epic.perleditor.perlnature";   //PERL NATURE

newProjectDescription.setNatureIds(natureId);

..............
//Here I think is the place where I have to modify the perl path of
the project the plugin is goig to create
........................
newProject.create(newProjectDescription,null);   //creazione progetto

Can you give me an idea or a little piece of source code to resolve
this problem???
I browse a lot in the web but I didn't find any idea to continue...

Thanks very much!

Daniele.
Lew - 07 Sep 2007 22:45 GMT
> Hi all!
> I have a big problem..

Yes, you haven't learned not to multi-post.  GIYF.

Use cross-posting, as I did to correct your distribution, if you really,
really, really, really absolutely must reach more than one newsgroup, although
such coverage is unlikely to get you more, better or faster answers.

Signature

Lew



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.