Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > eclipse getting the project references of a project

Reply
Thread Tools

eclipse getting the project references of a project

 
 
Alexandre Jaquet
Guest
Posts: n/a
 
      11-14-2007
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

 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      11-14-2007
Alexandre Jaquet wrote:
...
>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.

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

Message posted via http://www.javakb.com

 
Reply With Quote
 
 
 
 
Alexandre Jaquet
Guest
Posts: n/a
 
      11-14-2007
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

 
Reply With Quote
 
Hendrik Maryns
Guest
Posts: n/a
 
      11-14-2007
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.
--
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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHOzMXe+7xMGD3itQRAqfyAJ9zqd8hf/TeurGFVhUuLL+67/FFXQCfQU/K
DE2xM9a+8nWuIYheWdmZWnw=
=IBRM
-----END PGP SIGNATURE-----

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Validate WSDL in eclipse using Eclipse Web tools project Veerle Java 0 03-13-2009 02:09 PM
buildr & eclipse => how to convert a eclipse project to buildr ? Stephane Wirtel Ruby 0 07-05-2007 06:33 AM
Getting reference of eclipse plugin view or its component from another eclipse plugin view? Jimmy Java 0 03-15-2007 11:04 PM
Difference between bin and obj directories and difference between project references and dll references jakk ASP .Net 4 03-22-2005 09:23 PM
Deploying eclipse plugin cleared everything in eclipse - project references in package explorer etc. javaguy44 Java 1 08-18-2004 03:24 PM



Advertisments