-
Notifications
You must be signed in to change notification settings - Fork 67
/
build.xml
29 lines (23 loc) · 1.47 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!-- Copyright 2006-2012 AdvancedTools. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
<project name="CppTools plugin deploy" default="copy_files">
<property name="idea.sandbox.home.path" value="${IDEA_SANDBOX_HOME_PATH}"/>
<property name="project.path" value="${basedir}" />
<target name="copy_files">
<mkdir dir="${idea.sandbox.home.path}/plugins/CppTools/lib" />
<copy todir="${idea.sandbox.home.path}/plugins/CppTools/lib" >
<fileset dir="${project.path}/.." includes="lib.tcl,profile.tcl,defs.h,cfserver.exe,cfserver.mac,cfserver.linux,cfserver.*.syms"/>
</copy>
<copy todir="${idea.sandbox.home.path}/plugins/CppTools" >
<fileset dir="${project.path}/../DOC" includes="readme.*"/>
</copy>
<mkdir dir="${idea.sandbox.home.path}/plugins/CppTools/META-INF" />
<copy todir="${idea.sandbox.home.path}/plugins/CppTools/META-INF" >
<fileset dir="${project.path}/META-INF" includes="*.xml"/>
</copy>
</target>
<target name="release" depends="copy_files">
<delete file="${idea.sandbox.home.path}/plugins/CppTools/lib/CppTools.zip" quiet="true"/>
<jar jarfile="${idea.sandbox.home.path}/plugins/CppTools/lib/CppTools.zip" basedir="${project.path}/classes" excludes="tests/**"/>
<zip basedir="${idea.sandbox.home.path}/plugins" includes="CppTools/**/*.*,CppTools/**/*" excludes="CppTools/classes/**,CppTools/logs/**" destfile="CppTools.zip"/>
</target>
</project>