[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: RE: how to set config parameters to generate all jars' content and not jar them
From: "Ashutosh Satyam" <ashutosh () alopa ! com>
Date: 2005-03-18 6:30:57
Message-ID: EEDD33F766B6C34C88DA5BB0EAE586FE37967D () dak ! india ! alopa ! com
[Download RAW message or body]
Hi,
You can turn off the compilation of the generated XMLBeans code and bundling it to a \
jar file by specifying the option -srconly when using scomp tool.
But as you pointed out, when you do this it's not going to generate *.xsb files \
(Xml Schema Binary) which contains Schema meta information, required to perform \
binding, validation, etc. Unfortunately the scomp tool generates these xsb files \
only if the -out option is provided and thus generates the complete schema jar file.
Probably you are looking at bundling this schema jar with few more files.
You can easily include part or all of the content of one JAR
to the JAR you are creating, using <zipfileset>.
Check out the example at
http://ant.apache.org/manual/CoreTypes/zipfileset.html
Regards,
Ashutosh Satyam
-----Original Message-----
From: hefeng cui [mailto:cuihefeng@yahoo.com.cn]
Sent: Friday, March 18, 2005 8:02 AM
To: xmlbeans-dev@xml.apache.org
Subject: how to set config parameters to generate all jars' content and not jar them
Hi,
I need xmlbeans help me to generate all jars stuff (including everything which \
contained in generated jar file) but I don't want xmlbeans jar them together. Can \
anyone help me to set the scomp's parameter to do this?
I tried scomp -src srcfolder , but there are some files missing.
Thanks a lots!
hefeng
2005-03-18
_____
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂 <http://music.yisou.com>
美女明星应有尽有,搜遍美图、艳图和酷图 <http://image.yisou.com>
1G就是1000兆,雅虎电邮自助扩容! \
<http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/>
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<META content="MSHTML 5.50.4926.2500" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Times New Roman"><SPAN
class=429580006-18032005>Hi,</SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman"><SPAN class=429580006-18032005> You can
turn off the compilation of the generated XMLBeans code and bundling it to a jar
file by</SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman"><SPAN
class=429580006-18032005> specifying the option
<STRONG>-srconly</STRONG> when using <STRONG>scomp
</STRONG>tool.</SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman"><SPAN
class=429580006-18032005></SPAN></FONT> </DIV>
<DIV><FONT face="Times New Roman"><SPAN class=429580006-18032005> But as
you pointed out, when you do this it's not going to generate
<STRONG>*.xsb</STRONG> files (Xml Schema Binary)</SPAN></FONT></DIV>
<DIV><SPAN class=429580006-18032005><FONT
face="Times New Roman"> which contains Schema meta information,
required to perform binding, validation, etc.</FONT></SPAN></DIV>
<DIV><FONT face="Times New Roman"><SPAN
class=429580006-18032005> Unfortunately the scomp tool generates these xsb
files only if the <STRONG>-out</STRONG> option is provided</SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman"><SPAN class=429580006-18032005> and thus
generates the complete schema jar file.</SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman"><SPAN
class=429580006-18032005></SPAN></FONT> </DIV>
<DIV><FONT face="Times New Roman"><SPAN
class=429580006-18032005> </SPAN></FONT><SPAN
class=429580006-18032005><FONT face="Times New Roman">Probably you are looking
at bundling this schema jar with few more files.</FONT></SPAN></DIV>
<DIV><SPAN class=429580006-18032005><FONT
face="Times New Roman"> </FONT><FONT face="Times New Roman">You can easily
include part or all of the content of one JAR<BR> to the JAR you are
creating, using <zipfileset>. </FONT></SPAN></DIV>
<DIV><SPAN class=429580006-18032005><FONT
face="Times New Roman"> </FONT></SPAN></DIV>
<DIV><SPAN class=429580006-18032005><FONT face="Times New Roman">Check out the
example at </FONT></SPAN></DIV>
<DIV><SPAN class=429580006-18032005><FONT face="Times New Roman"><A
href="http://ant.apache.org/manual/CoreTypes/zipfileset.html">http://ant.apache.org/manual/CoreTypes/zipfileset.html</A></FONT></SPAN></DIV>
<DIV><SPAN class=429580006-18032005><FONT
face="Times New Roman"></FONT></SPAN> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=429580006-18032005></SPAN></FONT> </DIV>
<DIV><FONT face="Times New Roman"><SPAN
class=429580006-18032005>Regards,</SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman"><SPAN class=429580006-18032005>Ashutosh
Satyam</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=429580006-18032005></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN class=429580006-18032005><FONT
face=Arial color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN
class=429580006-18032005> </SPAN>-----Original Message-----<BR><B>From:</B>
hefeng cui [mailto:cuihefeng@yahoo.com.cn]<BR><B>Sent:</B> Friday, March 18,
2005 8:02 AM<BR><B>To:</B> xmlbeans-dev@xml.apache.org<BR><B>Subject:</B> how to
set config parameters to generate all jars' content and not jar them
<BR><BR></DIV></FONT></FONT>
<BLOCKQUOTE>
<DIV>Hi, </DIV>
<DIV>I need xmlbeans help me to generate all jars stuff
(including everything which contained in generated jar file) but I don't
want xmlbeans jar them together. Can anyone help me to set the scomp's
parameter to do this?</DIV>
<DIV> </DIV>
<DIV>I tried scomp -src srcfolder , but there are some files missing.</DIV>
<DIV> </DIV>
<DIV>Thanks a lots!</DIV>
<DIV> </DIV>
<DIV>hefeng</DIV>
<DIV>2005-03-18</DIV>
<P><BR>
<HR SIZE=1>
<B>Do You Yahoo!?</B><BR><A target=blank
href="http://music.yisou.com">150万曲MP3疯狂搜,带您闯入音乐殿堂</A><BR><A \
target=blank href="http://image.yisou.com">美女明星应有尽有,搜遍美图、艳图和酷图</A><BR><A \
target=blank href="http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/">1G就是1000兆,雅虎电邮自助扩容!</A></BLOCKQUOTE></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic