[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: [jira] Commented: (XMLBEANS-40) SchemaCompiler does not generate .xsb files to source output directo
From: "Radu Preotiuc-Pietro (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date: 2005-01-21 3:32:17
Message-ID: 63030346.1106278337555.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]
[ http://issues.apache.org/jira/browse/XMLBEANS-40?page=comments#action_57870 ]
Radu Preotiuc-Pietro commented on XMLBEANS-40:
----------------------------------------------
The semantics:
- -srconly means just generate the Java sources, don't compile them
- -d gives the destination directory for binary artifacts, the ones that are used at \
runtime (.class and .xsb files)
- -src gives the destination directory for generated source artifacts, ie .java \
source files
- -out similar to -d but forces the result to be packaged as a jar
If '-src' or '-d' are absent and the files that would go there are needed for a \
subsequent step, a temp directory is used instead. So it would not make sense to \
generate .xsb files, which are binary, to a source dir.
> 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
> Assignee: Radu Preotiuc-Pietro
> 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
-
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic