Re: Disruptive interaction between quilt and Ant.
Hi Charles,
On Wed, Oct 27, 2010 at 1:28 AM, Charles Plessy <plessy@debian.org> wrote:
> Le Wed, Oct 27, 2010 at 02:23:40PM +0900, Charles Plessy a écrit :
>> Dear Java packagers,
>>
>> I am trying to apply the attached patch to the imagej package (Squeeze
>> version), but strangely the build fails in presence of the .pc directory
>> created by quilt.
Maybe you should modify your build.xml to exclude the .pc directory.
Something like this:
--- imagej-1.44i.orig/build.xml
+++ imagej-1.44i/build.xml
@@ -10,6 +10,9 @@
<!-- The plugins directory only needs to be
present at runtime, not at build time. -->
<exclude name="plugins/**"/>
+ <!-- The quilt management directory needs to be excluded
+ or some classes will not build due to duplicated classes
errors -->
+ <exclude name=".pc/**"/>
</javac>
</target>
Cheers,
--
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche
--- imagej-1.44i.orig/build.xml
+++ imagej-1.44i/build.xml
@@ -10,6 +10,9 @@
<!-- The plugins directory only needs to be
present at runtime, not at build time. -->
<exclude name="plugins/**"/>
+ <!-- The quilt management directory needs to be excluded
+ or some classes will not build due to duplicated classes errors -->
+ <exclude name=".pc/**"/>
</javac>
</target>
Reply to: