Whenever I want to find the dependents of one file I always
resort to using an ant task like this:
<target name="compileIndependent">
<!-- Create the build directory structure used by compile -->
<mkdir dir="${INDEPENDENT}"/>
<!-- Compile the java code from src directory into classes directory
-->
<javac srcdir="${APP_SRC}"
destdir="${INDEPENDENT}"
classpath="${COMPILE_CLASSPATH}"
debug="on"
extdirs="${EXTDIRS}">
<include name="com/yourcom/package/JustMePlusDependents.java"/>
</javac>
</target>
The end result is that the INDEPENDENT directory will contain
all the class files for all the classes that JustMePlusDependents depends
on. Sure, it'd be nice if IDEA could should you complete with
source-control status, but in the meantime....
> -----Original Message-----
> From: Adam Goldband [mailto:[EMAIL PROTECTED]]
> Sent: 10 June 2002 23:46
> To: [EMAIL PROTECTED]
> Subject: [Eap-features] Find Dependancies
>
>
> For a while now I have been wanting this feature: Find all
> classes that
> this class depends on.
>
> My reason is that my company runs a process that recompiles
> the entire tree
> and runs all test cases every time someone checks something
> into cvs. If I
> have missed committing some change to some class I have
> committed then I get
> a nasty email saying I broke the build.
> If I had a way to trace all code my class depended on then I
> could be more
> confident about submitting my changes.
>
> thanks,
>
> adam
>
> Adam S. Goldband
> SE, AT, CNET, SF, USA
>
>
> _______________________________________________
> Eap-features mailing list
> [EMAIL PROTECTED]
> http://lists.jetbrains.com/mailman/listinfo/eap-features
>
********** Confidentiality Notice & Disclaimer **********
This message, together with any attachments, is for the confidential and exclusive use
of the addressee(s).
If you receive it in error, please delete the message and its attachments from your
system immediately and notify us by return e-mail.
Do not disclose, copy, circulate or use any information contained in this e-mail.
(1) The content of this e-mail is to be read subject to Thomson Holidays terms of
business, as applicable.
(2) E-mail may be intercepted or affected by viruses and Thomson Holidays accepts no
responsibility for any interception or liability for any form of viruses introduced
with this e-mail.
(3) The sender shall remain solely accountable for any statements, representations or
opinions that are clearly his or her own and not made in the course of employment.
***************************************************************
Lunn Poly Limited
Registered in England and Wales (Number 638309)
Lunn Poly House
Clarendon Avenue
Leamington Spa
Warwickshire
CV32 5PS
Telephone: +44 (0)01926 452245
IT Helpdesk: +44 (0)01926 330111
E-mail: [EMAIL PROTECTED]
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features