update jars

fix provider

git-svn-id: https://svn.coded.pt/svn/SIPRP@1461 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Luis Flores 15 years ago
parent 2be82279af
commit 979ef75622

@ -10,6 +10,26 @@
<target name="app-build" />
<target name="cifrar" depends="app-properties-exists" if="app.properties.exists" >
<echo message="Encrypting app.properties" />
<typedef classpathref="lib.tools.classpath" resource="net/jtools/classloadertask/antlib.xml">
<classpath>
<path refid="lib.tools.classpath"/>
</classpath>
</typedef>
<classloader loader="project">
<classpath>
<fileset dir="${lib.tools.dir}" includes="*.jar"/>
</classpath>
</classloader>
<taskdef name="cifrar-props" classpathref="lib.tools.classpath" classname="com.evolute.ant.PropsEncryptorTask" onerror="fail" />
<cifrar-props filepath="${properties.dir}${file.separator}app.properties" destpath="${app.build.dir}${file.separator}app.properties"/>
</target>
<target name="app-properties-exists">
<available file="${properties.dir}${file.separator}app.properties" property="app.properties.exists"/>
</target>
<target name="app-prepare" depends="load-properties">
<echo message="Dealing with package-info.java files (ant compilation problem workaround)" />
<delete failonerror="false">
@ -26,10 +46,11 @@
<exclude name="*.java" />
</fileset>
<fileset dir="${properties.dir}">
<include name="app.properties" />
<exclude name="app.properties" />
<include name="**/*" />
</fileset>
</copy>
<antcall target="cifrar"/>
</target>
<target name="app-clean" description="Removes all generated files" depends="load-static-properties">

Binary file not shown.
Loading…
Cancel
Save