[ 
http://issues.apache.org/jira/browse/XMLBEANS-204?page=comments#action_12359807 
] 

Radu Preotiuc-Pietro commented on XMLBEANS-204:
-----------------------------------------------

I have looked at this; I also run Eclipse 3.1 on Linux, but I have an older 
version of Linux (Red Hat 9 I believe), but I was unable to repro it (maybe I 
need a bigger build file).
Then I have looked at the ant task code, but could see nothing obvious in it, 
it's pretty simple stuff. It's doing some output using the inherited log() 
method and that's all, no way it's closing any important streams. On the other 
hand, it's doing quite a lot of file writing when generating the binding files, 
so it's closing some streams, but there's no way it could close some of the 
Eclipse internal streams.

So, I think this is more likely an Eclipse on Linux bug, but someone else in 
the community should also take a close look at the code, maybe I'm just missing 
something.
Here are some good places to start:
- the ant task is implemented in 
src/xmlcomp/org/apache/xmlbeans/impl/tool/XMLBean.java
- the generated files are written to disk in 
src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemCompiler.generateTypes()


> Ant task output disappears after running xmlbean task under Eclipse in Linux
> ----------------------------------------------------------------------------
>
>          Key: XMLBEANS-204
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-204
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 2
>  Environment: OS Fedora Core 3 Linux, Eclipse 3.1, ant 1.6.5
>     Reporter: Jim McMaster

>
> When running the xmlbean ant task under the version of ant shipped with 
> eclipse (1.6.5), in Eclipse 3.1 under Fedora Core 3 Linux, all output after 
> "[xmlbean] Time to generate code: 0.389 seconds" does not appear on the 
> Eclipse console.  Output from succeeding tasks is not available.
> When the same ant build file produces the expected output when run under 
> Eclipse 3.1 under Windows XP SP2.  It also produces the expected output when 
> run with ant 1.6.2 from the linux command line.

-- 
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]

Reply via email to