TnExamplePlug .cvsignore,NONE,1.1 build.xml,NONE,1.1 .project,NONE,1.1 .classpath,NONE,1.1

Barry van Someren <[email protected]> Fri, 02 Jul 2004 14:00:34 +0000
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/TnExamplePlug
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3175

Added Files:
	.cvsignore build.xml .project .classpath 
Log Message:
This is a simple Tn5250jFramework plugin to help you get started.
Feel free to use it as a template.

--- NEW FILE: .cvsignore ---
bin
lib

--- NEW FILE: .project ---
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>TnExamplePlug</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.eclipse.jdt.core.javabuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.eclipse.jdt.core.javanature</nature>
	</natures>
</projectDescription>

--- NEW FILE: build.xml ---

<project name="TnExamplePlug" default="info" basedir=".">
<property name="source.dir" value="${basedir}/src" />
<property name="build.dir" value="${basedir}/bin" />
<property name="dist.dir" value="${basedir}/dist" />
<property name="lib.dir" value="${basedir}/lib" />

<property name="runtime.classpath" value="tn5250j.jar" />
<property name="jarname" value="TnExamplePlug.jar" />
<path id="classpath">
<fileset dir="${lib.dir}" >
          <include name="*.jar" />
          <include name="*.zip" />
</fileset>
</path>

<target name="init" depends="clean">
<mkdir dir="${build.dir}" />
<mkdir dir="${lib.dir}" />
<mkdir dir="${dist.dir}" />
</target>

<target name="clean" description="Cleanup your workspace (delete build-directory, ...)">
<delete dir="${build.dir}" />
<delete dir="${dist.dir}" />
</target>


<target name="compile" depends="init">
<javac debug="true"
		debuglevel="lines, vars, source"
				srcdir="${source.dir}"
                destdir="${build.dir}"
                excludes="**/Cvs/**,**/*.ini/*.properties" >
                <classpath>
                <path refid="classpath"
                />
            </classpath>


</javac>

</target>

<target name="dist" depends="compile, init">
<jar jarfile="${dist.dir}/${jarname}">
            <fileset dir="${build.dir}"/>
            <fileset dir="${source.dir}"
            includes="*.properties,*.props,*.gif,*.jpg"/>
			<manifest>
				<attribute name="Class-Path" value="${runtime.classpath}"/>
			</manifest>
</jar>
</target>

<target name="info">
</target>

</project>
--- NEW FILE: .classpath ---
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="src" path="src"/>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
	<classpathentry kind="src" path="/tn5250j"/>
	<classpathentry kind="output" path="bin"/>
</classpath>



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com