Thanks, but what does this mean? :-)<div>I don't understand yet...</div><div><br></div><div><br><br><div class="gmail_quote">On Tue, Feb 1, 2011 at 10:12 PM, Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com">michael.wechner@wyona.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Balz<div class="im"><br>
<br>
On 2/1/11 6:21 PM, Balz Schreier wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi,<br>
<br>
i'm analyzing the following issue, maybe somebody knows the answer already?<br>
<br>
I am using Java SE 6 JAXB, and the standard allows you to put a package-info.java into the package folder where all the data beans are located.<br>
It is crucial that that Java class get compiled as well and put into the final WAR file for deployment.<br>
<br>
However, the current standard distribution process of Yanel does not include that java file. Why?<br>
</blockquote>
<br></div>
because it doesn't copy all the files into the jar file, but the following build file (responsible for compiling resource types)<br>
<br>
src/build/resource-types/resource-type.build.xml<br>
<br>
is using the parameter<br>
<br>
copy.resource-type-configs.to.webapp<br>
<br>
which is set within<br>
<br>
src/build/(local.)build.properties<br>
<br>
which means in order to include<br>
<br>
package-info.java<br>
<br>
or rather<br>
<br>
package-info.class<br>
<br>
one needs to enhance<br>
<br>
src/build/resource-types/resource-type.build.xml<br>
<br>
Cheers<br>
<br>
Michael<div><div></div><div class="h5"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It has to be called "package-info.java", so in the final WAR file there should be a "package-info.class".<br>
<br>
I'm checking now all the ant targets to find out why it does not get packaged.<br>
<br>
Note that the runtime build works fine (testing locally), but when doing the distribution build, it is missing.<br>
<br>
Cheers<br>
Balz<br>
</blockquote>
<br></div></div><font color="#888888">
-- <br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com" target="_blank">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br>
</font></blockquote></div><br></div>