You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jm...@za.safmarine.com on 2004/11/26 14:16:32 UTC

Classes in the same directory as source





If one has classes that are sitting in the same directory as the
source you want to compile , is there a way of telling maven to use
the already compiled classes in its classpath in order to compile the
not yet compiled java files?

(of course one way is to jar the classes and include the jar as a
dependency)

Jeff
Registered Linux user number 366042




This e-mail is intended exclusively for the addressee.
If you are not the addressee you must not read, copy, use or disclose
the e-mail nor the content; please notify us immediately (by clicking "Reply") and delete this e-mail.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Classes in the same directory as source

Posted by jm...@za.safmarine.com.





Eventually just jarred them and placed in local repository...Thanx

Jeff

Registered Linux user number 366042




This e-mail is intended exclusively for the addressee.
If you are not the addressee you must not read, copy, use or disclose
the e-mail nor the content; please notify us immediately (by clicking "Reply") and delete this e-mail.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Classes in the same directory as source

Posted by Jason van Zyl <jv...@maven.org>.
On Fri, 2004-11-26 at 08:16, jmutonho@za.safmarine.com wrote:
> 
> 
> 
> If one has classes that are sitting in the same directory as the
> source you want to compile , is there a way of telling maven to use
> the already compiled classes in its classpath in order to compile the
> not yet compiled java files?

No because it's not a good practice, in fact it's bad, and something
Maven would never support. Separate your compiled classes from your
sources or you're just looking for a world of pain.

-- 
jvz.

Jason van Zyl
jason@maven.org
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org