You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by xm...@xml.apache.org on 2004/08/27 12:42:27 UTC

[jira] Commented: (XMLBEANS-40) SchemaCompiler does not generate .xsb files to source output directory

The following comment has been added to this issue:

     Author: Kirk Wylie
    Created: Fri, 27 Aug 2004 3:42 AM
       Body:
Another common operation might also be:
- Generate source files for XSD files into the base source tree
- Compile those with other files for your project
- Create one .JAR file

As it stands, since the .xsb files are only generated during compilation, it becomes impossible to do this.

The workaround appears to be to generate the class files into your project's class file directory, and then jar from there, but it should be much easier to do the source code generation and .xsb file production into the main source output for ease in avoiding jar bloat.

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XMLBEANS-40?page=comments#action_37855

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XMLBEANS-40

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-40
    Summary: SchemaCompiler does not generate .xsb files to source output directory
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: XMLBeans
 Components: 
             Compiler
   Versions:
             Version 1.0.3

   Assignee: 
   Reporter: Ian P. Springer

    Created: Thu, 1 Jul 2004 5:53 AM
    Updated: Fri, 27 Aug 2004 3:42 AM
Environment: n/a

Description:
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.



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org