Skip to content

Commit

Permalink
Check skip-replace-inject.txt present
Browse files Browse the repository at this point in the history
  • Loading branch information
jacodg committed Sep 26, 2023
1 parent 704e428 commit 9c56b55
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions specials/ibis-ladybug/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
<condition property="iaf.not.present" if:true="${test.with.iaf}"><not><resourceexists><file file="../../../iaf"/></resourceexists></not></condition>
<fail message="Folder iaf not found, please clone https://github.com/ibissource/iaf.git" if:set="iaf.not.present"/>

<echo message="ibis-ladybug: Check skip-replace-inject.txt present"/>
<condition property="skip.replace.inject.not.present"><not><resourceexists><file file="../../../ibis-ladybug/skip-replace-inject.txt"/></resourceexists></not></condition>
<fail message="File ibis-ladybug/skip-replace-inject.txt not found, create it to prevent replacements in your local java files (git restore replacements which have already been done (possibly because your IDE has already executed maven))" if:set="skip.replace.inject.not.present"/>

<echo message="ibis-ladybug: Check ibis-ladybug version in pom.xml"/>
<xmlproperty file="../../../ibis-ladybug/pom.xml" prefix="ladybug.pom.xml"/>
<property name="pom.xml" location="${basedir}/../../../ibis-ladybug-test-webapp/pom.xml" if:true="${test.with.test.webapp}" unless:true="${test.with.iaf}"/>
Expand Down Expand Up @@ -91,9 +95,6 @@
<arg value="-Dmaven.compiler.useIncrementalCompilation=false" if:true="${maven.skip.recompile.all}"/><!-- prevent unnecessary "recompiling the module", when using an IDE the IDE will already give errors when files don't compile anymore because other files have changed (see also https://stackoverflow.com/questions/16963012/maven-compiler-recompile-all-files-instead-modified/49700942#49700942) -->
<arg value="-Dmaven.source.skip=true" if:true="${maven.skip.source.jar}"/>
<arg value="-Dmaven.skip.copyright=true" if:true="${maven.skip.copyright}"/>
<arg value="-Dinject.replace.include=DISABLE"/><!-- Disable as even when no replacements are done the file is touched and ctrl-z in Eclipse will "select all text" -->
<arg value="-Dinject.replace.from=nl.nn.testtool"/><!-- Revert replacements of javax.inject possibly done by a previous run -->
<arg value="-Dinject.replace.to=javax.inject"/>
<arg value="-X" if:true="${maven.verbose}"/>
<arg value="--settings" if:set="maven.settings.xml"/>
<arg value="${maven.settings.xml}" if:set="maven.settings.xml"/>
Expand Down

0 comments on commit 9c56b55

Please sign in to comment.