Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Programmer > Re: dependency ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 15 of 29 Topic 52646 of 55513
Post > Topic >>

Re: dependency scanner

by "Mike Schilling" <mscottschilling@[EMAIL PROTECTED] > May 11, 2008 at 09:41 PM

Lew wrote:
> Mike Schilling wrote:
>> jolz wrote:
>>>> I am looking for a class/program that will scan a .java file for
>>>>  im****ts (recursively) to discover which ones need to be rebuilt.
>>>> This is close to GNU's makedepend or cook's c_incl.
>>> You didn't consider im****t x.y.* and cl***** in the same package.
>>
>> And the use of fully qualified named with no im****t.
>
> Given that 'im****t' is just syntactic sugar for FQNs, any dependency
> analysis tool would only use FQNs for its analysis, I should think.

Certainly.  But the OP was suggesting a tool that scanned the .java 
file lexically for im****ts, and that would fail to find

    p1.p2.p3.class1 c = null;

Personally, I'd build a dependency tool that scanned the .class file, 
not the .java file.  (If there is no .class file, you don't need to 
know anything about dependencies to realize that the .java file needs 
to be recompiled.)  The bytecode has everything you need, and there is 
lots of open-source code out there to help you parse it.
 




 29 Posts in Topic:
dependency scanner
"Aryeh M. Friedman&q  2008-05-11 11:03:34 
Re: dependency scanner
ram@[EMAIL PROTECTED] (S  2008-05-11 15:14:17 
Re: dependency scanner
Lew <lew@[EMAIL PROTEC  2008-05-11 11:24:08 
Re: dependency scanner
=?ISO-8859-1?Q?Arne_Vajh=  2008-05-11 13:19:25 
Re: dependency scanner
"Mike Schilling"  2008-05-11 11:57:54 
Re: dependency scanner
=?ISO-8859-1?Q?Arne_Vajh=  2008-05-11 14:59:07 
Re: dependency scanner
"Mike Schilling"  2008-05-11 12:09:55 
Re: dependency scanner
Lew <lew@[EMAIL PROTEC  2008-05-11 15:49:11 
Re: dependency scanner
=?ISO-8859-1?Q?Arne_Vajh=  2008-05-11 17:35:14 
Re: dependency scanner
Lew <lew@[EMAIL PROTEC  2008-05-11 18:38:56 
Re: dependency scanner
jolz <BardzoTajneKonto  2008-05-11 21:08:10 
Re: dependency scanner
jolz <BardzoTajneKonto  2008-05-11 21:14:29 
Re: dependency scanner
"Mike Schilling"  2008-05-11 12:31:48 
Re: dependency scanner
Lew <lew@[EMAIL PROTEC  2008-05-11 15:51:55 
Re: dependency scanner
"Mike Schilling"  2008-05-11 21:41:37 
Re: dependency scanner
Lew <lew@[EMAIL PROTEC  2008-05-12 07:52:27 
Re: dependency scanner
"Aryeh M. Friedman&q  2008-05-12 08:32:25 
Re: dependency scanner
Lew <lew@[EMAIL PROTEC  2008-05-12 08:40:49 
Re: dependency scanner
"Aryeh M. Friedman&q  2008-05-12 08:53:19 
Re: dependency scanner
Lew <lew@[EMAIL PROTEC  2008-05-12 10:21:57 
Re: dependency scanner
Rex Mottram <rexm@[EMA  2008-05-12 10:43:30 
Re: dependency scanner
Lew <lew@[EMAIL PROTEC  2008-05-12 10:50:03 
Re: dependency scanner
"Aryeh M. Friedman&q  2008-05-12 10:56:26 
Re: dependency scanner
"Mike Schilling&quo  2008-05-12 09:06:50 
Re: dependency scanner
=?UTF-8?B?QXJuZSBWYWpow7h  2008-05-12 18:28:49 
Re: dependency scanner
Christopher Brooks <cx  2008-05-16 08:07:51 
Re: dependency scanner
"Mike Schilling&quo  2008-05-12 09:10:30 
Re: dependency scanner
Lew <lew@[EMAIL PROTEC  2008-05-12 22:19:03 
Re: dependency scanner
Roedy Green <see_websi  2008-05-12 12:49:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 18:41:29 CST 2008.