alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<?xml version="1.0" encoding="UTF-8"?>

<project default="build_dll" basedir="../../..">

<target name="init">
	<eclipse.refreshLocal resource="org.eclipse.swt" depth="infinite" />
	<eclipse.refreshLocal resource="org.eclipse.swt.tools" depth="infinite" />	
   	<eclipse.incrementalBuild project="org.eclipse.swt" kind="incr" />
</target>
	
<!-- Build swt.dll for Windows -->
<target name="build_win32_dll">
	<exec dir="./bin/library" executable="${basedir}\bin\library\build.bat">
		<arg line="install"/>
	</exec>
</target>

<!-- Build swt.dll for Pocket PC -->
<target name="build_wince_dll">
	<exec dir="./bin/library" executable="${basedir}\bin\library\build-ce.bat">
		<arg line="install"/>
	</exec>
</target>

<!-- Build Windows and Pocket PC swt dlls -->
<!-- Output .dlls for these platforms into the fragment directory -->
<!--        .log files from the compilers in the org.eclipse.swt/ directory       -->  
<target name="build_dll" depends="init">
	<antcall target="build_win32_dll"/>
	<antcall target="clean"/>
	<antcall target="build_wince_dll"/>
	<eclipse.refreshLocal resource="org.eclipse.swt.win32.win32.x86" depth="infinite" />
	<eclipse.refreshLocal resource="org.eclipse.swt.win32.wce_ppc.arm" depth="infinite" />
</target>

<target name="clean">
	<exec dir="./bin/library" executable="${basedir}\bin\library\build.bat">
		<arg line="clean"/>
	</exec>
</target>
    
</project>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.