Skip to content

Commit

Permalink
- alteracao na criacao do .zip para os arquivos do projeto estarem
Browse files Browse the repository at this point in the history
dentro de uma pasta chamada integrator
  • Loading branch information
Kleyson de Sousa Rios committed Jul 27, 2015
1 parent 97bb09f commit 6143ead
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ tomcat.libs=D:\\BI_5_4_0\\biserver-ce-5.4.0.0-128\\biserver-ce\\tomcat\\lib
dist.dir=dist/integrator
resources.dir=resources
jar.name=${app.name}-${prj.version}.jar
jar.file=${dist.dir}/lib/${jar.name}
jar.file=${dist.dir}/integrator/lib/${jar.name}
#test.file=D:\\BI_5_4_0\\biserver-ce-5.4.0.0-128\\biserver-ce\\pentaho-solutions\\system\\integrator\\lib\\${jar.name}
9 changes: 5 additions & 4 deletions build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
<!-- generates the runnable jar -->
<target name="jar" depends="clean,compile">
<mkdir dir="${dist.dir}"/>
<mkdir dir="${dist.dir}/lib" />
<mkdir dir="${dist.dir}/integrator" />
<mkdir dir="${dist.dir}/integrator/lib" />

<jar destfile="${jar.file}" basedir="${classes.dir}">
<manifest>
Expand All @@ -65,17 +66,17 @@
</target>

<target name="move" depends="jar">
<copy todir="${dist.dir}/">
<copy todir="${dist.dir}/integrator">
<fileset dir="${resources.dir}/">
<include name="**"/>
</fileset>
</copy>
<copy todir="${dist.dir}/lib">
<copy todir="${dist.dir}/integrator/lib">
<fileset dir="${lib.dir}/">
<include name="**/*.jar"/>
</fileset>
</copy>
<zip destfile="${dist.dir}/../${app.name}.zip" basedir="${dist.dir}" />
<zip destfile="${dist.dir}/../${app.name}-${prj.version}.zip" basedir="${dist.dir}" />
<!--
<delete file="${test.file}" verbose="true" />
<copy file="${jar.file}" tofile="${test.file}" verbose="true" />
Expand Down

0 comments on commit 6143ead

Please sign in to comment.