Hi Liviu,
Liviu Vasut wrote:
>
>> Actually, I don't think it's the Java application itself. However, I am
>> too
>> long gone from the Windows shell to remember every detail. The point is
>> that
>> for some reason the provided classpath seems not to work. You're running
>> the
>> command from a Windows shell? Or did you try it from a Cygwin bash? Did
>> you
>> try to quote the classpath option?
>>
>> - Jörg
>
> I'm running the classic windows shell and I did try to quote the classpath
> as you advised but with no success...
> I installed the latest preview release
> (jdk-7u2-ea-bin-b11-windows-i586-27_oct_2011.exe) but that didn't work
> either.
So, I got now access to a VM with Windows XP, but anything works as
expected:
==================== %< =============
C:\Temp\xstream>javac -cp .;xstream-1.4.2.jar Xtest.java
C:\Temp\xstream>java -cp .;xstream-1.4.2.jar;xmlpull-1.1.3.1.jar Xtest
<Person>
<firstname>nume</firstname>
<lastname>pre</lastname>
</Person>
C:\Temp\xstream>dir
Datenträger in Laufwerk C: ist System
Volumeseriennummer: C474-45EB
Verzeichnis von C:\Temp\xstream
25.11.2011 11:51 <DIR> .
25.11.2011 11:51 <DIR> ..
25.11.2011 11:50 246 Person.class
25.11.2011 11:28 83 Person.java
25.11.2011 11:41 7.188 xmlpull-1.1.3.1.jar
25.11.2011 11:40 481.672 xstream-1.4.2.jar
25.11.2011 11:50 672 Xtest.class
25.11.2011 11:28 433 Xtest.java
6 Datei(en) 490.294 Bytes
2 Verzeichnis(se), 1.492.590.592 Bytes frei
==================== %< =============
> Should we drop this?
This demonstrates, that your problems is not really a problem of XStream, it
has to do with your environment. Can you compare the file sizes of the
libraries above with the ones you're using? Maybe your xmlpull jar is
corrupted.
> Can you recommend me a similar xml library?
Define 'similar' ;-)
- Jörg
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email