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 / November 2007

Tip: Looking for answers? Try searching our database.

eclipse getting the project references of a project

Thread view: 
Alexandre Jaquet - 14 Nov 2007 14:07 GMT
Hi,

I'm looking for a way to programmatically gets the projects references
of a given project.

Any there anyway to do it ?

Thanks

Regards,
Alexandre
Andrew Thompson - 14 Nov 2007 14:16 GMT
...
>I'm looking for a way to programmatically gets the projects references
>of a given project.
>
>Any there anyway to do it ?

Use ant with appropriate property files.  Then you always
have them and do not feel your gonads being crushed by
some piece of (damnable) software.

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Alexandre Jaquet - 14 Nov 2007 14:47 GMT
I cannot I'm been developping an eclipse plugin ... but thanks for the
suggestion

in fact I've found a way to get the project references :

        IProject project = getCurrentProject();
        IProject [] projects = null;
        try {
            projects = project.getReferencedProjects();
        }catch (CoreException ex) {

        }
but I cannot set the input projects to my treeViewer
Hendrik Maryns - 14 Nov 2007 17:40 GMT
Alexandre Jaquet schreef:
> Hi,
>
> I'm looking for a way to programmatically gets the projects references
> of a given project.
>
> Any there anyway to do it ?

Eclipse has its own newsserver.  I’d suggest
nttp://news.eclipse.org/eclipse.newcomer to start with.

See http://www.eclipse.org/newsgroups/.

H.
Signature

Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html



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.