blob: bcdc329e7cc0136b89923a2216f8e51a9b5c927b [file] [log] [blame]
<project name="Creates an Eclipse Project from an External JAR" default="run">
<target name="run">
<property name="jar_dir" value="target/repository/plugins"/>
<property name="unjar_dir" value="${jar_dir}/META-INF/resources/webjars"/>
<echo>Unjarring ${unjar_dir}</echo>
<unzip dest="${jar_dir}">
<fileset dir="${jar_dir}">
<include name="**/*.jar" />
</fileset>
</unzip>
<echo>Moving files </echo>
<move file="${unjar_dir}/github-com-AlexSuleap-angular-tree-widget" tofile="${unjar_dir}/angular-tree-widget"/>
<move file="${unjar_dir}/angular-tree-widget/v1.1.1" tofile="${unjar_dir}/angular-tree-widget"/>
<move file="${unjar_dir}/angularjs-dropdown-multiselect" tofile="${unjar_dir}/angularjs-multiselect"/>
<move file="${unjar_dir}/angularjs-multiselect/2.0.0-beta.10/dist/src" tofile="${unjar_dir}/angularjs-multiselect"/>
<move file="${unjar_dir}/angular-local-storage/0.2.2/dist" tofile="${unjar_dir}/angular-local-storage/0.2.2"/>
<move file="${unjar_dir}/html5shiv/3.7.2/dist" tofile="${unjar_dir}/html5shiv/3.7.2"/>
<move file="${unjar_dir}/jquery/2.1.3/dist" tofile="${unjar_dir}/jquery/2.1.3"/>
<move file="${unjar_dir}/moment/2.9.0/min" tofile="${unjar_dir}/moment/2.9.0"/>
<move file="${unjar_dir}/ng-grid/2.0.11/build" tofile="${unjar_dir}/ng-grid/2.0.11"/>
<move file="${unjar_dir}/respond/1.4.2/dest" tofile="${unjar_dir}/respond/1.4.2"/>
<move file="${unjar_dir}/angular-ui-grid" tofile="${unjar_dir}/ui-grid"/>
<move file="${unjar_dir}/ui-grid/3.0.0-rc.20" tofile="${unjar_dir}/ui-grid/3.0.0"/>
<move file="${unjar_dir}/angular-ui-bootstrap" tofile="${unjar_dir}/ui-bootstrap"/>
<move file="${unjar_dir}/ui-bootstrap/0.12.0/ui-bootstrap-tpls.min.js" tofile="${unjar_dir}/ui-bootstrap/0.12.0/ui-bootstrap-tpls-0.12.0.min.js"/>
<move file="${unjar_dir}/ui-bootstrap/0.12.1/ui-bootstrap-tpls.min.js" tofile="${unjar_dir}/ui-bootstrap/0.12.1/ui-bootstrap-tpls-0.12.1.min.js"/>
<move file="${unjar_dir}/ui-bootstrap/1.3.1/ui-bootstrap-tpls.min.js" tofile="${unjar_dir}/ui-bootstrap/1.3.1/ui-bootstrap-tpls-1.3.1.min.js"/>
<move file="${unjar_dir}/chart.js" tofile="${unjar_dir}/chartjs"/>
<move file="${unjar_dir}/chartjs/2.0.0-beta2" tofile="${unjar_dir}/chartjs/2.0.0"/>
<move file="${unjar_dir}/oauth-ng/0.3.8/dist" tofile="${unjar_dir}/oauth-ng/0.3.8"/>
<echo>Copying to org.eclipse.osee.ajax.deps </echo>
<copy todir="${unjar_dir}/../../../../../../../org.eclipse.oss.ajax/src">
<fileset dir="${unjar_dir}"/>
</copy>
</target>
</project>