You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by js...@apache.org on 2006/05/16 18:48:56 UTC
svn commit: r406986 [2/2] - /geronimo/xbean/site/
Modified: geronimo/xbean/site/xbean-ant-task.html
URL: http://svn.apache.org/viewcvs/geronimo/xbean/site/xbean-ant-task.html?rev=406986&r1=406985&r2=406986&view=diff
==============================================================================
--- geronimo/xbean/site/xbean-ant-task.html (original)
+++ geronimo/xbean/site/xbean-ant-task.html Tue May 16 09:48:50 2006
@@ -32,7 +32,7 @@
<TR>
<TD align="left" valign="middle" nowrap="">
<DIV id="site-breadcrumbs">
-<A href="home.html" title="XBean">XBean</A> > <A href="home.html" title="Home">Home</A> > <A href="navigation.html" title="Navigation">Navigation</A> > <A href="" title="XBean Ant Task">XBean Ant Task</A>
+<A href="home.html" title="XBean">XBean</A> > <A href="home.html" title="Home">Home</A> > <A href="" title="XBean Ant Task">XBean Ant Task</A>
</DIV>
</TD>
<TD align="right" valign="middle" nowrap="">
@@ -103,7 +103,7 @@
<LI><SPAN class="nobr"><A href="http://docs.codehaus.org/pages/listpages.action?key=XB" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
<LI><A href="lists.html" title="Lists">Mailing Lists</A></LI>
<LI><A href="contributor.html" title="Contributor">Who We Are</A></LI>
- <LI><SPAN class="nobr"><A href="http://goopen.org/confluence/pages/createpage.action?spaceKey=XB&title=Contributing&linkCreation=true&fromPageId=4782" title="Create Page: Contributing" class="createlink">Contributing<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><A href="contributing.html" title="Contributing">Contributing</A></LI>
</UL>
@@ -144,28 +144,7 @@
<P>Here's an example of the use of the task in a maven build.</P>
-<DIV class="code"><DIV class="codeContent">
-<PRE class="code-xml"><SPAN class="code-tag"><goal name=<SPAN class="code-quote">"xbean:generate"</SPAN> description=<SPAN class="code-quote">"Generates the XBean XSD, documentation and META-INF/services files."</SPAN>></SPAN>
- <SPAN class="code-tag"><ant:mkdir dir=<SPAN class="code-quote">"${basedir}/target/generated"</SPAN>/></SPAN>
- <SPAN class="code-tag"><path id=<SPAN class="code-quote">"test.classpath"</SPAN>></SPAN>
- <SPAN class="code-tag"><pathelement path=<SPAN class="code-quote">"${maven.build.dest}"</SPAN> /></SPAN>
- <SPAN class="code-tag"><pathelement path=<SPAN class="code-quote">"${basedir}/target/classes"</SPAN> /></SPAN>
- <SPAN class="code-tag"><pathelement path=<SPAN class="code-quote">"${basedir}/target/test-classes"</SPAN> /></SPAN>
- <SPAN class="code-tag"><path refid=<SPAN class="code-quote">"maven.dependency.classpath"</SPAN> /></SPAN>
- <SPAN class="code-tag"></path></SPAN>
-
- <SPAN class="code-tag"><taskdef name=<SPAN class="code-quote">"xsdGenerate"</SPAN> classname=<SPAN class="code-quote">"org.xbean.spring.generator.MappingGeneratorTask"</SPAN>></SPAN>
- <SPAN class="code-tag"><classpath refid=<SPAN class="code-quote">"test.classpath"</SPAN> /></SPAN>
- <SPAN class="code-tag"></taskdef></SPAN>
- <SPAN class="code-tag"><ant:mkdir dir=<SPAN class="code-quote">"${basedir}/target/generated"</SPAN>/></SPAN>
- <xsdGenerate destFile=<SPAN class="code-quote">"${basedir}/target/activemq-${pom.currentVersion}.xsd"</SPAN> namespace=<SPAN class="code-quote">"http://activemq.org/config/1.0"</SPAN>
- classpathref=<SPAN class="code-quote">"test.classpath"</SPAN> srcdir=<SPAN class="code-quote">"${basedir}/src/main/java"</SPAN> metaInfDir=<SPAN class="code-quote">"${basedir}/target/generated/"</SPAN>/>
-
- <SPAN class="code-tag"><copy file=<SPAN class="code-quote">"${basedir}/target/activemq-${pom.currentVersion}.xsd"</SPAN> todir=<SPAN class="code-quote">"${basedir}/../xdocs"</SPAN>/></SPAN>
- <SPAN class="code-tag"><copy file=<SPAN class="code-quote">"${basedir}/target/activemq-${pom.currentVersion}.xsd.html"</SPAN> todir=<SPAN class="code-quote">"${basedir}/../xdocs"</SPAN>/></SPAN>
-<SPAN class="code-tag"></goal></SPAN></PRE>
-</DIV></DIV>
<P>In particular here are the Ant properties of interest.</P>
@@ -240,8 +219,8 @@
</DIV>
<DIV id="site-footer">
Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
- last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on Oct 12, 2005
- (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=4776&originalId=4874">view change</A>)
+ last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on May 16, 2006
+ (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=4776&originalId=5839">view change</A>)
(<A href="http://goopen.org/confluence/pages/editpage.action?pageId=4776">edit page</A>)
</DIV>