maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karan-Sahni \(Contractor\)" <KSa...@OfficeDepot.com>
Subject RE: sourcesPresent
Date Tue, 17 Aug 2004 21:23:08 GMT
I create a source directory dynamically in maven.xml and checkout files from cvs into that
folder. I call scm:checkout-project before java:compile, but the java plugin thinks I have
no sources present. I tried setting the sourcesPresent property to true before java:compile
but the plugin throws an exception. The process works fine as long as the source directory
was there before I call maven.

Anyone have ideas how I can get maven to recognise my source directory if it is created in
maven.xml?








-----Original Message-----
From: Jefferson K. French [mailto:jeff@frenches.org]
Sent: Tuesday, August 17, 2004 3:42 PM
To: Karan-Sahni (Contractor)
Cc: Maven Users List
Subject: Re: sourcesPresent


I think Maven checks if the directory you define in your POM's
<sourceDirectory/> exists, and if so, it sets the 'sourcesPresent'
property.

On Tue, 17 Aug 2004, at 13:39:55 [GMT -0400] Karan-Sahni (Contractor)
wrote:

> can anyone explain to me how does the construct - when test="${sourcesPresent == 'true'
> work?
> Where does maven look to check if sources are present and when is the value of the sourcesPresent
property actually set?

-- 
mailto:jeff@frenches.org



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


Mime
View raw message