I agree:
Index: lucene/common-build.xml
===================================================================
--- lucene/common-build.xml (revision 1309387)
+++ lucene/common-build.xml (working copy)
@@ -841,7 +841,7 @@
<fail message="You must redefine the javadocs task to do something!!!!!"
/>
</target>
- <target name="install-maven-tasks" unless="maven-tasks.uptodate">
+ <target name="install-maven-tasks" unless="maven-tasks.uptodate" depends="ivy
-availability-check,ivy-fail">
<property name="maven-tasks.uptodate" value="true"/>
<ivy:cachepath organisation="org.apache.maven" module="maven-ant-tasks" rev
ision="2.1.3"
inline="true" conf="master" type="jar" pathid="maven-ant-tasks.cla
sspath"/>
@@ -900,6 +900,7 @@
<property name="deployed.grandparent.pom.uptodate" value="true"/>
</target>
+ <!-- TODO: add cool detector like the ivy one? this requires you have rat -->
<target name="rat-sources-typedef">
<typedef resource="org/apache/rat/anttasks/antlib.xml"
uri="antlib:rat.anttasks">
<classpath>
Index: lucene/contrib/misc/build.xml
===================================================================
--- lucene/contrib/misc/build.xml (revision 1309387)
+++ lucene/contrib/misc/build.xml (working copy)
@@ -27,7 +27,7 @@
<import file="../contrib-build.xml"/>
- <target name="install-cpptasks" unless="cpptasks.uptodate">
+ <target name="install-cpptasks" unless="cpptasks.uptodate"
depends="ivy-availability-check,ivy-fail">
<property name="cpptasks.uptodate" value="true"/>
<ivy:cachepath organisation="ant-contrib" module="cpptasks"
revision="1.0b5"
inline="true" conf="master" type="jar"
pathid="cpptasks.classpath"/>
On Wed, Apr 4, 2012 at 10:11 AM, Uwe Schindler <[email protected]> wrote:
> I think we should add the IVY-detection task also for those maven tasks and
> others (like contrib cpptasks). I had them in originally, but they may have
> been removed when we removed the ivy taskdef...
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: [email protected]
>
>
>> -----Original Message-----
>> From: Uwe Schindler [mailto:[email protected]]
>> Sent: Wednesday, April 04, 2012 4:10 PM
>> To: [email protected]
>> Subject: RE: Error when running 'ant generate-maven-artifacts'
>>
>> Hi,
>>
>> Read BUILD.txt, we moved the whole Lucene build to Apache Ivy dependency
>> (LUCENE-3930). In fact you have to install Apache IVY (there is a
> bootstrap task
>> for it).
>>
>> Uwe
>>
>> -----
>> Uwe Schindler
>> H.-H.-Meier-Allee 63, D-28213 Bremen
>> http://www.thetaphi.de
>> eMail: [email protected]
>>
>>
>> > -----Original Message-----
>> > From: Jason Rutherglen [mailto:[email protected]]
>> > Sent: Wednesday, April 04, 2012 3:58 PM
>> > To: [email protected]
>> > Subject: Error when running 'ant generate-maven-artifacts'
>> >
>> > I am getting the following error when running 'ant
>> generate-maven-artifacts':
>> >
>> > Buildfile: /Users/jasonrutherglen/src/LUCENE-TRUNK/build.xml
>> >
>> > generate-maven-artifacts:
>> >
>> > filter-pom-templates:
>> > [copy] Copying 42 files to
>> > /Users/jasonrutherglen/src/LUCENE-TRUNK/lucene/build/poms
>> >
>> > install-maven-tasks:
>> >
>> > BUILD FAILED
>> > /Users/jasonrutherglen/src/LUCENE-TRUNK/build.xml:95: The following
>> > error occurred while executing this line:
>> > /Users/jasonrutherglen/src/LUCENE-TRUNK/lucene/common-build.xml:847:
>> > Problem: failed to create task or type
>> > antlib:org.apache.ivy.ant:cachepath
>> > Cause: The name is undefined.
>> > Action: Check the spelling.
>> > Action: Check that any custom tasks/types have been declared.
>> > Action: Check that any <presetdef>/<macrodef> declarations have taken
>> place.
>> > No types or tasks have been defined in this namespace yet
>> >
>> > This appears to be an antlib declaration.
>> > Action: Check that the implementing library exists in one of:
>> > -/usr/share/ant/lib
>> > -/Users/jasonrutherglen/.ant/lib
>> > -a directory added on the command line with the -lib argument
>> >
>> >
>> > Total time: 0 seconds
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [email protected] For
>> > additional commands, e-mail: [email protected]
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected] For additional
>> commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
--
lucidimagination.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]