[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-dev] Wiki mismatch default extensions.depend.dir nameand location
|
Will reply because others may be looking for an answer:
The default is correct (but the dir doesn't exist unless user created).
Variable pathing issues added a usecase where the variable was used for
a fileset in classpaths. This causes ANT to fail if the directory
doesn't exist (which is usual). As a temporary fix, I setup the
conditional to set the dir to an existent (but useless) location. The
long-term fix is in progress, but unfortunately the docs are lagging
somewhat behind.
I have been trying to update the docs, and as a result they are in a
state of flux. I am targeting getting them up-to-date and coherent
during the holidays - after the changes are in place.
-Eric
Sebastien Tardif wrote:
Disregard, it's working fine.
-----Original Message-----
From: eclipselink-dev-bounces@xxxxxxxxxxx
[mailto:eclipselink-dev-bounces@xxxxxxxxxxx] On Behalf Of Sebastien
Tardif
Sent: Monday, December 14, 2009 5:17 AM
To: Dev mailing list for Eclipse Persistence Services
Subject: [eclipselink-dev] Wiki mismatch default extensions.depend.dir
nameand location
Wiki at: http://wiki.eclipse.org/EclipseLink/Building
Said: extensions.depend.dir: This property defines where external
dependencies can be found. (default: .\trunk\..\extension.lib.external
However, default build is giving this: [echo] extensions.depend.dir
= 'C:\EclipseLinkSrc\br2.0\trunk'
Ant script logic is:
<!-- This HAS to be defined after allowing user redefinitions (which
will cause the condition not to set anything) -->
<!-- This tests to make sure the extensions dir exists, if not sets
to a existant dummy location -->
<condition property="extensions.depend.dir"
value="${trunk.build.location}/../extension.lib.external"
else="${trunk.build.location}">
<available
file="${trunk.build.location}/../extension.lib.external" type="dir"/>
</condition>
<echo message="extensions.depend.dir =
'${extensions.depend.dir}'"/>
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev