* this example show how we can build from the different jdk version.
click here
Showing posts with label ant. Show all posts
Showing posts with label ant. Show all posts
Tuesday, 27 May 2008
Wednesday, 21 May 2008
Sunday, 20 April 2008
Wednesday, 9 January 2008
error "Waiting For Virtual Machine To Exit" in eclipse
* error "Waiting For Virtual Machine To Exit" in eclipse
When you have "Waiting For Virtual Machine To Exit" message and did not change any
progress , you might install "Axis2 Code Generator" in Eclipse.
In order to solve this problem, you should change ANT home setting in eclipse.
Because when you install "Axis2 Code Generator" in eclipse , it change the
ANT HOME setting.
So please go to "Window > Preference > Ant > Runtime". There will be "Ant Home Entires" part. You can confirm the jar files are from Axis2 plugin directory. This
is causing the problem so please click "Ant Home" button on the right side and
setting up ant home such as "D:\java\ant\apache-ant-1.7.0" directory and click OK
When you have "Waiting For Virtual Machine To Exit" message and did not change any
progress , you might install "Axis2 Code Generator" in Eclipse.
In order to solve this problem, you should change ANT home setting in eclipse.
Because when you install "Axis2 Code Generator" in eclipse , it change the
ANT HOME setting.
So please go to "Window > Preference > Ant > Runtime". There will be "Ant Home Entires" part. You can confirm the jar files are from Axis2 plugin directory. This
is causing the problem so please click "Ant Home" button on the right side and
setting up ant home such as "D:\java\ant\apache-ant-1.7.0" directory and click OK
Tuesday, 7 August 2007
sample ant file
<?xml version="1.0" encoding="UTF-8"?>
<project name="myTest" default="all">
<property name="title" value="myTest"/>
<property name="debug" value="true"/>
<property name="jar.name" value="myTest.jar"/>
<property name="libs.location" value="lib"/>
<path id="project.classpath">
<pathelement location="."/>
<pathelement location="${libs.location}/framework.jar"/>
<pathelement location="${libs.location}/servlet.jar"/>
<pathelement location="${libs.location}/http_all-2.0.0.jar"/>
</path>
<target name="all" depends="init,compile,jar"/>
<target name="init">
<mkdir dir="./classes"/>
</target>
<target name="compile">
<echo>${libs.location}</echo>
<javac destdir= "./classes" debug = "on">
<src path= "./src"/>
<classpath refid = "project.classpath"/>
</javac>
</target>
<target name="jar">
<jar basedir = "./classes"
jarfile = "${jar.name}"
compress = "true"
includes = "**/*"
manifest = "./META-INF/MANIFEST.MF"
/>
</target>
<target name="clean">
<delete dir = "./classes"/>
</target>
</project>
******************************************************************************
<?xml version="1.0"?>
<project name="MyPrinterWorkspace" default="all">
<property name="services" value="../MyPrinterWorkspace"/>
<property name="libs" value="./lib"/>
<path id="project.classpath">
<pathelement location="."/>
<pathelement location="${libs}/framework.jar"/>
<pathelement location="${libs}/servlet.jar"/>
<pathelement location="${libs}/http_all-2.0.0.jar"/>
<pathelement location="${libs}/himalaya-bundle.jar"/>
<pathelement location="./SESPControls.jar"/>
<pathelement location="./com.samsung.dpd.everest.core_0.2.0.u2a.jar"/>
<pathelement location="./com.samsung.dpd.everest.portability_0.2.0.u1aRC2.jar"/>
</path>
<target name="all" depends="init,compile,jar"/>
<target name="init">
<mkdir dir="./classes"/>
</target>
<target name="compile">
<javac destdir= "./classes" debug = "on">
<src path= "./src"/>
<classpath refid = "project.classpath"/>
</javac>
</target>
<target name="jar">
<jar basedir = "./classes"
jarfile = "./myprinterworkspace.jar"
compress = "true"
includes = "**/*"
manifest = "./META-INF/MANIFEST.MF"
/>
</target>
<target name="clean">
<delete dir = "./classes"/>
</target>
</project>
<project name="myTest" default="all">
<property name="title" value="myTest"/>
<property name="debug" value="true"/>
<property name="jar.name" value="myTest.jar"/>
<property name="libs.location" value="lib"/>
<path id="project.classpath">
<pathelement location="."/>
<pathelement location="${libs.location}/framework.jar"/>
<pathelement location="${libs.location}/servlet.jar"/>
<pathelement location="${libs.location}/http_all-2.0.0.jar"/>
</path>
<target name="all" depends="init,compile,jar"/>
<target name="init">
<mkdir dir="./classes"/>
</target>
<target name="compile">
<echo>${libs.location}</echo>
<javac destdir= "./classes" debug = "on">
<src path= "./src"/>
<classpath refid = "project.classpath"/>
</javac>
</target>
<target name="jar">
<jar basedir = "./classes"
jarfile = "${jar.name}"
compress = "true"
includes = "**/*"
manifest = "./META-INF/MANIFEST.MF"
/>
</target>
<target name="clean">
<delete dir = "./classes"/>
</target>
</project>
******************************************************************************
<?xml version="1.0"?>
<project name="MyPrinterWorkspace" default="all">
<property name="services" value="../MyPrinterWorkspace"/>
<property name="libs" value="./lib"/>
<path id="project.classpath">
<pathelement location="."/>
<pathelement location="${libs}/framework.jar"/>
<pathelement location="${libs}/servlet.jar"/>
<pathelement location="${libs}/http_all-2.0.0.jar"/>
<pathelement location="${libs}/himalaya-bundle.jar"/>
<pathelement location="./SESPControls.jar"/>
<pathelement location="./com.samsung.dpd.everest.core_0.2.0.u2a.jar"/>
<pathelement location="./com.samsung.dpd.everest.portability_0.2.0.u1aRC2.jar"/>
</path>
<target name="all" depends="init,compile,jar"/>
<target name="init">
<mkdir dir="./classes"/>
</target>
<target name="compile">
<javac destdir= "./classes" debug = "on">
<src path= "./src"/>
<classpath refid = "project.classpath"/>
</javac>
</target>
<target name="jar">
<jar basedir = "./classes"
jarfile = "./myprinterworkspace.jar"
compress = "true"
includes = "**/*"
manifest = "./META-INF/MANIFEST.MF"
/>
</target>
<target name="clean">
<delete dir = "./classes"/>
</target>
</project>
Sunday, 22 July 2007
Basic - OSGI programming
http://neilbartlett.name/blog/osgi-articles/
http://www.eclipsezone.com/eclipse/forums/t90365.html
http://www.eclipsezone.com/eclipse/forums/t90365.html
Wednesday, 18 July 2007
basic concept of Ant
first : http://www.javastudy.co.kr/docs/lec_oop/ant/ant1.htm
second : http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html
second : http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html
Subscribe to:
Posts (Atom)