<project name="GenericSwtApplication" default="run" basedir=".">
<description>
Generic SWT Application build and execution file
</description>
<property name="main.class" value=""/>
<property name="src" location="."/>
<property name="build" location="."/>
<!-- Update location to match your eclipse home directory -->
<property name="ecl.home" location="c:\eclipse"/>
<!-- Update value to match your windowing system (win32, gtk, motif, etc.) -->
<property name="win.sys" value="win32"/>
<!-- Update value to match your os (win32, linux, etc.) -->
<property name="os.sys" value="win32"/>
<!-- Update value to match your architecture -->
<property name="arch" value="x86"/>
<!-- Update value to match your SWT version -->
<property name="swt.ver" value="3.0.0"/>
<!-- Do not edit below this line -->
<property name="swt.subdir"
location="${ecl.home}/plugins/org.eclipse.swt.${win.sys}_${swt.ver}"/>
<property name="swt.jar.lib" location="${swt.subdir}/ws/${win.sys}"/>
<property name="swt.jni.lib" location="${swt.subdir}/os/${os.sys}/${arch}"/>
<path id="project.class.path">
<pathelement path="${build}"/>
<fileset dir="${swt.jar.lib}">
<include name="**/*.jar"/>
</fileset>
</path>
<target name="compile">
<javac srcdir="${src}" destdir="${build}">
<classpath refid="project.class.path"/>
</javac>
</target>
<target name="run" depends="compile">
<java classname="${main.class}" fork="true" failonerror="true">
<jvmarg value="-Djava.library.path=${swt.jni.lib}"/>
<classpath refid="project.class.path"/>
</java>
</target>
</project>
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | name property value location Update your to match |
注册
个人空间
