ASF Bugzilla – Attachment 24311 Details for
Bug 47903
[PATCH] Added target to compile scratchpad examples
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
svn diff output
diff.txt (text/plain), 2.56 KB, created by
Bruno Girin
on 2009-09-25 07:27:07 UTC
(
hide
)
Description:
svn diff output
Filename:
MIME Type:
Creator:
Bruno Girin
Created:
2009-09-25 07:27:07 UTC
Size:
2.56 KB
patch
obsolete
>Index: build.xml >=================================================================== >--- build.xml (revision 818854) >+++ build.xml (working copy) >@@ -27,6 +27,7 @@ > Modified by: > > Rainer Klute klute@rainer-klute.de >+ Bruno Girin brunogirin@gmail.com > > This build was tested with ant 1.6.2 although it will probably work with > other versions. The following jar files should be available on the >@@ -110,6 +111,10 @@ > <property name="examples.src" location="src/examples/src"/> > <property name="examples.output.dir" location="build/examples-classes"/> > >+ <!-- Scratchpad Examples: --> >+ <property name="scratchpad.examples.src" location="src/scratchpad/examples/src"/> >+ <property name="scratchpad.examples.output.dir" location="build/scratchpad-examples-classes"/> >+ > <!-- OOXML support: --> > <property name="ooxml.src" location="src/ooxml/java"/> > <property name="ooxml.src.test" location="src/ooxml/testcases"/> >@@ -273,6 +278,7 @@ > <mkdir dir="${scratchpad.output.dir}"/> > <mkdir dir="${contrib.output.dir}"/> > <mkdir dir="${examples.output.dir}"/> >+ <mkdir dir="${scratchpad.examples.output.dir}"/> > <mkdir dir="${ooxml.output.dir}"/> > <mkdir dir="${main.output.test.dir}"/> > <mkdir dir="${contrib.output.test.dir}"/> >@@ -423,8 +429,8 @@ > </target> > > <target name="compile" depends="init, compile-main, >- compile-scratchpad, compile-contrib, compile-examples" >- description="Compiles the POI main classes, scratchpad, contrib, and examples"/> >+ compile-scratchpad, compile-contrib, compile-examples, compile-scratchpad-examples" >+ description="Compiles the POI main classes, scratchpad, contrib, examples, and scratchpad examples"/> > > <target name="compile-main"> > <copy todir="${main.output.dir}"> >@@ -508,6 +514,19 @@ > </javac> > </target> > >+ <target name="compile-scratchpad-examples" depends="init,compile-ooxml"> >+ <javac target="${jdk.version.class}" source="${jdk.version.source}" >+ failonerror="true" destdir="${scratchpad.examples.output.dir}" debug="on" fork="yes" >+ srcdir="${scratchpad.examples.src}"> >+ <classpath> >+ <path refid="examples.classpath"/> >+ <path refid="ooxml.classpath"/> >+ <pathelement path="${ooxml.output.dir}"/> >+ <pathelement location="${junit.jar1.dir}"/> >+ </classpath> >+ </javac> >+ </target> >+ > <target name="compile-ooxml" depends="init, compile-main, compile-scratchpad"> > <javac target="1.5" source="1.5" > destdir="${ooxml.output.dir}" debug="on" srcdir="${ooxml.src}">
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 47903
: 24311