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

<project name="PrepareForPII" default="main" basedir=".">
		
	<!-- Setup temp variables -->
	<target name="init">
		<property name="nlsDir" value="d:/NLS/Corona/0526"/>
		<property name="plugin" value="org.eclipse.ui.workbench.navigator"/>
		<property name="plugindir" value="d:/workspaceCorona/${plugin}"/>
		<property name="outputDir" value="${nlsDir}/${plugin}"/>
		
	
	</target>

	<!-- Create the destination dir -->
	<target name="nlsDir" depends="init">
		<mkdir dir="${nlsDir}"/>
	</target>
	
	<!-- Create the destination dir -->
	<target name="plugindir" depends="nlsDir">
		<delete dir="${outputDir}"/>
		<mkdir dir="${outputDir}"/>
	</target>

	<!-- Move the files to the correct locations in the workspace. -->
	<target name="main" depends="plugindir">
		<messageIdGen folderPath = "${plugindir}" componentId = "E" />
		
		<copy todir = "${outputDir}/property_files" >
			 <fileset dir="${plugindir}/property_files">
           	  <include name="**/*.properties"/>
  			 </fileset>
  		</copy>
  		
		<copy file="${plugindir}/plugin.properties" todir="${outputDir}"/>
  		
	</target>
</project>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 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.