[ http://issues.apache.org/jira/browse/XMLBEANS-40?page=comments#action_12313210 ]
Daniel Ecer commented on XMLBEANS-40: ------------------------------------- And how I am supposed to generate the source and the .xsb files without compiling/jaring using the ant task? There seem no equivalent to -d, the destfile seem to be mapped to -out according to the previous description. What would be so wrong about putting the .xsb files in the source directory in that case? Isn't the srconly option completly useless if the .xsb files are not generated? IDEs like Eclipse are copying resources from the source automatically to the output folder, using ant they could be copied easy as well... if they were there. I think this would be easy to fix. Thanks in advance. > SchemaCompiler does not generate .xsb files to source output directory > ---------------------------------------------------------------------- > > Key: XMLBEANS-40 > URL: http://issues.apache.org/jira/browse/XMLBEANS-40 > Project: XMLBeans > Type: Bug > Components: Compiler > Versions: Version 1.0.3 > Environment: n/a > Reporter: Ian P. Springer > Priority: Minor > > The .xsb files are only written to the classes output directory at the same > time .class files are compiled. This prevents one from being able to run > scomp w/ the -srconly option, compiling the source themselves, and then > actually using the generated classes, since the .xsb files are required at > runtime. I think the solution would be to write the .xsb files to the source > output dir as well as the classes output dir. Then one would be able to run > w/ -srconly and still build a complete runtime jar themselves. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]