This page is no longer maintained — Please continue to the home page at www.scala-lang.org

ANN: scalaxb 0.2.0 is released

15 replies
eed3si9n
Joined: 2010-01-24,
User offline. Last seen 42 weeks 6 days ago.
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e
Meredith Gregory
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com
Meredith Gregory
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com
eed3si9n
Joined: 2010-01-24,
User offline. Last seen 42 weeks 6 days ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Hi greg,
If you have Scala 2.8.0, the easiest way is to use sbaz, which you've already tried.The installed script likely depends on $SCALA_HOME environment variable, so could you try it? The script is generated using my sbt port of Ant scalacript task.
Otherwise, INSTALL describes how to install it from scratch: http://github.com/eed3si9n/scalaxb/blob/master/INSTALL
Cheers,e.e
On Wed, Jul 21, 2010 at 8:25 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com

eed3si9n
Joined: 2010-01-24,
User offline. Last seen 42 weeks 6 days ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Hi greg,
If you have Scala 2.8.0, the easiest way is to use sbaz, which you've already tried.The installed script likely depends on $SCALA_HOME environment variable, so could you try it? The script is generated using my sbt port of Ant scalacript task.
Otherwise, INSTALL describes how to install it from scratch: http://github.com/eed3si9n/scalaxb/blob/master/INSTALL
Cheers,e.e
On Wed, Jul 21, 2010 at 8:25 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com

Meredith Gregory
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Dear e.e,
The previous error happens when i install using the install instructions. When i use sbaz to install i get the following error.
bash-3.2$ scalaxb rlambdaDC.xsd  Exception in thread "main" java.lang.NoSuchMethodError: scala.collection.generic.Growable.$plus$plus$eq(Lscala/collection/Traversable;)Lscala/collection/generic/Growable; at org.scalaxb.compiler.xsd.Driver$.sortByDependency(Driver.scala:86) at org.scalaxb.compiler.Module$class.processFiles(Module.scala:81) at org.scalaxb.compiler.xsd.Driver$.processFiles(Driver.scala:29) at org.scalaxb.compiler.Module$class.start(Module.scala:68) at org.scalaxb.compiler.xsd.Driver$.start(Driver.scala:29) at org.scalaxb.compiler.Main$.main(Main.scala:30) at org.scalaxb.compiler.Main.main(Main.scala) bash-3.2$ 
Best wishes,
--greg

On Wed, Jul 21, 2010 at 7:10 PM, e.e <eed3si9n@gmail.com> wrote:
Hi greg,
If you have Scala 2.8.0, the easiest way is to use sbaz, which you've already tried. The installed script likely depends on $SCALA_HOME environment variable, so could you try it? The script is generated using my sbt port of Ant scalacript task.
Otherwise, INSTALL describes how to install it from scratch: http://github.com/eed3si9n/scalaxb/blob/master/INSTALL
Cheers,e.e
On Wed, Jul 21, 2010 at 8:25 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com




--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com
Meredith Gregory
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Dear e.e,
The previous error happens when i install using the install instructions. When i use sbaz to install i get the following error.
bash-3.2$ scalaxb rlambdaDC.xsd  Exception in thread "main" java.lang.NoSuchMethodError: scala.collection.generic.Growable.$plus$plus$eq(Lscala/collection/Traversable;)Lscala/collection/generic/Growable; at org.scalaxb.compiler.xsd.Driver$.sortByDependency(Driver.scala:86) at org.scalaxb.compiler.Module$class.processFiles(Module.scala:81) at org.scalaxb.compiler.xsd.Driver$.processFiles(Driver.scala:29) at org.scalaxb.compiler.Module$class.start(Module.scala:68) at org.scalaxb.compiler.xsd.Driver$.start(Driver.scala:29) at org.scalaxb.compiler.Main$.main(Main.scala:30) at org.scalaxb.compiler.Main.main(Main.scala) bash-3.2$ 
Best wishes,
--greg

On Wed, Jul 21, 2010 at 7:10 PM, e.e <eed3si9n@gmail.com> wrote:
Hi greg,
If you have Scala 2.8.0, the easiest way is to use sbaz, which you've already tried. The installed script likely depends on $SCALA_HOME environment variable, so could you try it? The script is generated using my sbt port of Ant scalacript task.
Otherwise, INSTALL describes how to install it from scratch: http://github.com/eed3si9n/scalaxb/blob/master/INSTALL
Cheers,e.e
On Wed, Jul 21, 2010 at 8:25 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com




--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com
Meredith Gregory
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Dear e.e,
i'd really like to try out your tool. BTW, have you thought about making it a webservice? Clients could submit .xsd files and receive .scala files in response.
Best wishes,
--greg

On Fri, Jul 23, 2010 at 2:38 PM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
The previous error happens when i install using the install instructions. When i use sbaz to install i get the following error.
bash-3.2$ scalaxb rlambdaDC.xsd  Exception in thread "main" java.lang.NoSuchMethodError: scala.collection.generic.Growable.$plus$plus$eq(Lscala/collection/Traversable;)Lscala/collection/generic/Growable; at org.scalaxb.compiler.xsd.Driver$.sortByDependency(Driver.scala:86) at org.scalaxb.compiler.Module$class.processFiles(Module.scala:81) at org.scalaxb.compiler.xsd.Driver$.processFiles(Driver.scala:29) at org.scalaxb.compiler.Module$class.start(Module.scala:68) at org.scalaxb.compiler.xsd.Driver$.start(Driver.scala:29) at org.scalaxb.compiler.Main$.main(Main.scala:30) at org.scalaxb.compiler.Main.main(Main.scala) bash-3.2$ 
Best wishes,
--greg

On Wed, Jul 21, 2010 at 7:10 PM, e.e <eed3si9n@gmail.com> wrote:
Hi greg,
If you have Scala 2.8.0, the easiest way is to use sbaz, which you've already tried. The installed script likely depends on $SCALA_HOME environment variable, so could you try it? The script is generated using my sbt port of Ant scalacript task.
Otherwise, INSTALL describes how to install it from scratch: http://github.com/eed3si9n/scalaxb/blob/master/INSTALL
Cheers,e.e
On Wed, Jul 21, 2010 at 8:25 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com




--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com
Meredith Gregory
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Dear e.e,
i'd really like to try out your tool. BTW, have you thought about making it a webservice? Clients could submit .xsd files and receive .scala files in response.
Best wishes,
--greg

On Fri, Jul 23, 2010 at 2:38 PM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
The previous error happens when i install using the install instructions. When i use sbaz to install i get the following error.
bash-3.2$ scalaxb rlambdaDC.xsd  Exception in thread "main" java.lang.NoSuchMethodError: scala.collection.generic.Growable.$plus$plus$eq(Lscala/collection/Traversable;)Lscala/collection/generic/Growable; at org.scalaxb.compiler.xsd.Driver$.sortByDependency(Driver.scala:86) at org.scalaxb.compiler.Module$class.processFiles(Module.scala:81) at org.scalaxb.compiler.xsd.Driver$.processFiles(Driver.scala:29) at org.scalaxb.compiler.Module$class.start(Module.scala:68) at org.scalaxb.compiler.xsd.Driver$.start(Driver.scala:29) at org.scalaxb.compiler.Main$.main(Main.scala:30) at org.scalaxb.compiler.Main.main(Main.scala) bash-3.2$ 
Best wishes,
--greg

On Wed, Jul 21, 2010 at 7:10 PM, e.e <eed3si9n@gmail.com> wrote:
Hi greg,
If you have Scala 2.8.0, the easiest way is to use sbaz, which you've already tried. The installed script likely depends on $SCALA_HOME environment variable, so could you try it? The script is generated using my sbt port of Ant scalacript task.
Otherwise, INSTALL describes how to install it from scratch: http://github.com/eed3si9n/scalaxb/blob/master/INSTALL
Cheers,e.e
On Wed, Jul 21, 2010 at 8:25 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com




--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com
Yu Yokota
Joined: 2010-07-25,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Hi greg,
I've attempted to create such web service/web app using Play framework Scala module.Unfortunately, Scala module and GAE support seems to be mutually exclusive at this point, so it only works locally. I'll look into some other web framework, and let you know.
e.e

On Sat, Jul 24, 2010 at 6:40 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
i'd really like to try out your tool. BTW, have you thought about making it a webservice? Clients could submit .xsd files and receive .scala files in response.
Best wishes,
--greg

On Fri, Jul 23, 2010 at 2:38 PM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
The previous error happens when i install using the install instructions. When i use sbaz to install i get the following error.
bash-3.2$ scalaxb rlambdaDC.xsd  Exception in thread "main" java.lang.NoSuchMethodError: scala.collection.generic.Growable.$plus$plus$eq(Lscala/collection/Traversable;)Lscala/collection/generic/Growable; at org.scalaxb.compiler.xsd.Driver$.sortByDependency(Driver.scala:86) at org.scalaxb.compiler.Module$class.processFiles(Module.scala:81) at org.scalaxb.compiler.xsd.Driver$.processFiles(Driver.scala:29) at org.scalaxb.compiler.Module$class.start(Module.scala:68) at org.scalaxb.compiler.xsd.Driver$.start(Driver.scala:29) at org.scalaxb.compiler.Main$.main(Main.scala:30) at org.scalaxb.compiler.Main.main(Main.scala) bash-3.2$ 
Best wishes,
--greg

On Wed, Jul 21, 2010 at 7:10 PM, e.e <eed3si9n@gmail.com> wrote:
Hi greg,
If you have Scala 2.8.0, the easiest way is to use sbaz, which you've already tried. The installed script likely depends on $SCALA_HOME environment variable, so could you try it? The script is generated using my sbt port of Ant scalacript task.
Otherwise, INSTALL describes how to install it from scratch: http://github.com/eed3si9n/scalaxb/blob/master/INSTALL
Cheers,e.e
On Wed, Jul 21, 2010 at 8:25 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com




--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com

Yu Yokota
Joined: 2010-07-25,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Hi greg,
I've attempted to create such web service/web app using Play framework Scala module.Unfortunately, Scala module and GAE support seems to be mutually exclusive at this point, so it only works locally. I'll look into some other web framework, and let you know.
e.e

On Sat, Jul 24, 2010 at 6:40 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
i'd really like to try out your tool. BTW, have you thought about making it a webservice? Clients could submit .xsd files and receive .scala files in response.
Best wishes,
--greg

On Fri, Jul 23, 2010 at 2:38 PM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
The previous error happens when i install using the install instructions. When i use sbaz to install i get the following error.
bash-3.2$ scalaxb rlambdaDC.xsd  Exception in thread "main" java.lang.NoSuchMethodError: scala.collection.generic.Growable.$plus$plus$eq(Lscala/collection/Traversable;)Lscala/collection/generic/Growable; at org.scalaxb.compiler.xsd.Driver$.sortByDependency(Driver.scala:86) at org.scalaxb.compiler.Module$class.processFiles(Module.scala:81) at org.scalaxb.compiler.xsd.Driver$.processFiles(Driver.scala:29) at org.scalaxb.compiler.Module$class.start(Module.scala:68) at org.scalaxb.compiler.xsd.Driver$.start(Driver.scala:29) at org.scalaxb.compiler.Main$.main(Main.scala:30) at org.scalaxb.compiler.Main.main(Main.scala) bash-3.2$ 
Best wishes,
--greg

On Wed, Jul 21, 2010 at 7:10 PM, e.e <eed3si9n@gmail.com> wrote:
Hi greg,
If you have Scala 2.8.0, the easiest way is to use sbaz, which you've already tried. The installed script likely depends on $SCALA_HOME environment variable, so could you try it? The script is generated using my sbt port of Ant scalacript task.
Otherwise, INSTALL describes how to install it from scratch: http://github.com/eed3si9n/scalaxb/blob/master/INSTALL
Cheers,e.e
On Wed, Jul 21, 2010 at 8:25 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com




--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com

Kevin Wright 2
Joined: 2010-05-30,
User offline. Last seen 26 weeks 4 days ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
I'd recommend hosting on stax.net
It's free, like GAE, but unlike GAE can also handle multi-threaded code (good for comet support in Lift)Plus it works well with maven-based builds, so feel free to use whatever frameworks you wish :)

On 25 July 2010 11:41, Yu Yokota <yuyokota@gmail.com> wrote:
Hi greg,
I've attempted to create such web service/web app using Play framework Scala module.Unfortunately, Scala module and GAE support seems to be mutually exclusive at this point, so it only works locally. I'll look into some other web framework, and let you know.
e.e

On Sat, Jul 24, 2010 at 6:40 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
i'd really like to try out your tool. BTW, have you thought about making it a webservice? Clients could submit .xsd files and receive .scala files in response.
Best wishes,
--greg

On Fri, Jul 23, 2010 at 2:38 PM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
The previous error happens when i install using the install instructions. When i use sbaz to install i get the following error.
bash-3.2$ scalaxb rlambdaDC.xsd  Exception in thread "main" java.lang.NoSuchMethodError: scala.collection.generic.Growable.$plus$plus$eq(Lscala/collection/Traversable;)Lscala/collection/generic/Growable; at org.scalaxb.compiler.xsd.Driver$.sortByDependency(Driver.scala:86) at org.scalaxb.compiler.Module$class.processFiles(Module.scala:81) at org.scalaxb.compiler.xsd.Driver$.processFiles(Driver.scala:29) at org.scalaxb.compiler.Module$class.start(Module.scala:68) at org.scalaxb.compiler.xsd.Driver$.start(Driver.scala:29) at org.scalaxb.compiler.Main$.main(Main.scala:30) at org.scalaxb.compiler.Main.main(Main.scala) bash-3.2$ 
Best wishes,
--greg

On Wed, Jul 21, 2010 at 7:10 PM, e.e <eed3si9n@gmail.com> wrote:
Hi greg,
If you have Scala 2.8.0, the easiest way is to use sbaz, which you've already tried. The installed script likely depends on $SCALA_HOME environment variable, so could you try it? The script is generated using my sbt port of Ant scalacript task.
Otherwise, INSTALL describes how to install it from scratch: http://github.com/eed3si9n/scalaxb/blob/master/INSTALL
Cheers,e.e
On Wed, Jul 21, 2010 at 8:25 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com




--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com




--
Kevin Wright

mail/google talk: kev.lee.wright@gmail.com
wave: kev.lee.wright@googlewave.com
skype: kev.lee.wright
twitter: @thecoda

Meredith Gregory
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Dear e.e,
First of all -- way cool! That's amazing. Second of all, i'd like to second Kevin's recommendation: stax is great.
Best wishes,
--greg

On Sun, Jul 25, 2010 at 4:11 AM, Kevin Wright <kev.lee.wright@gmail.com> wrote:
I'd recommend hosting on stax.net
It's free, like GAE, but unlike GAE can also handle multi-threaded code (good for comet support in Lift) Plus it works well with maven-based builds, so feel free to use whatever frameworks you wish :)

On 25 July 2010 11:41, Yu Yokota <yuyokota@gmail.com> wrote:
Hi greg,
I've attempted to create such web service/web app using Play framework Scala module.Unfortunately, Scala module and GAE support seems to be mutually exclusive at this point, so it only works locally. I'll look into some other web framework, and let you know.
e.e

On Sat, Jul 24, 2010 at 6:40 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
i'd really like to try out your tool. BTW, have you thought about making it a webservice? Clients could submit .xsd files and receive .scala files in response.
Best wishes,
--greg

On Fri, Jul 23, 2010 at 2:38 PM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
The previous error happens when i install using the install instructions. When i use sbaz to install i get the following error.
bash-3.2$ scalaxb rlambdaDC.xsd  Exception in thread "main" java.lang.NoSuchMethodError: scala.collection.generic.Growable.$plus$plus$eq(Lscala/collection/Traversable;)Lscala/collection/generic/Growable; at org.scalaxb.compiler.xsd.Driver$.sortByDependency(Driver.scala:86) at org.scalaxb.compiler.Module$class.processFiles(Module.scala:81) at org.scalaxb.compiler.xsd.Driver$.processFiles(Driver.scala:29) at org.scalaxb.compiler.Module$class.start(Module.scala:68) at org.scalaxb.compiler.xsd.Driver$.start(Driver.scala:29) at org.scalaxb.compiler.Main$.main(Main.scala:30) at org.scalaxb.compiler.Main.main(Main.scala) bash-3.2$ 
Best wishes,
--greg

On Wed, Jul 21, 2010 at 7:10 PM, e.e <eed3si9n@gmail.com> wrote:
Hi greg,
If you have Scala 2.8.0, the easiest way is to use sbaz, which you've already tried. The installed script likely depends on $SCALA_HOME environment variable, so could you try it? The script is generated using my sbt port of Ant scalacript task.
Otherwise, INSTALL describes how to install it from scratch: http://github.com/eed3si9n/scalaxb/blob/master/INSTALL
Cheers,e.e
On Wed, Jul 21, 2010 at 8:25 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com




--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com




--
Kevin Wright

mail/google talk: kev.lee.wright@gmail.com
wave: kev.lee.wright@googlewave.com
skype: kev.lee.wright
twitter: @thecoda




--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com
Meredith Gregory
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Dear e.e,
First of all -- way cool! That's amazing. Second of all, i'd like to second Kevin's recommendation: stax is great.
Best wishes,
--greg

On Sun, Jul 25, 2010 at 4:11 AM, Kevin Wright <kev.lee.wright@gmail.com> wrote:
I'd recommend hosting on stax.net
It's free, like GAE, but unlike GAE can also handle multi-threaded code (good for comet support in Lift) Plus it works well with maven-based builds, so feel free to use whatever frameworks you wish :)

On 25 July 2010 11:41, Yu Yokota <yuyokota@gmail.com> wrote:
Hi greg,
I've attempted to create such web service/web app using Play framework Scala module.Unfortunately, Scala module and GAE support seems to be mutually exclusive at this point, so it only works locally. I'll look into some other web framework, and let you know.
e.e

On Sat, Jul 24, 2010 at 6:40 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
i'd really like to try out your tool. BTW, have you thought about making it a webservice? Clients could submit .xsd files and receive .scala files in response.
Best wishes,
--greg

On Fri, Jul 23, 2010 at 2:38 PM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
The previous error happens when i install using the install instructions. When i use sbaz to install i get the following error.
bash-3.2$ scalaxb rlambdaDC.xsd  Exception in thread "main" java.lang.NoSuchMethodError: scala.collection.generic.Growable.$plus$plus$eq(Lscala/collection/Traversable;)Lscala/collection/generic/Growable; at org.scalaxb.compiler.xsd.Driver$.sortByDependency(Driver.scala:86) at org.scalaxb.compiler.Module$class.processFiles(Module.scala:81) at org.scalaxb.compiler.xsd.Driver$.processFiles(Driver.scala:29) at org.scalaxb.compiler.Module$class.start(Module.scala:68) at org.scalaxb.compiler.xsd.Driver$.start(Driver.scala:29) at org.scalaxb.compiler.Main$.main(Main.scala:30) at org.scalaxb.compiler.Main.main(Main.scala) bash-3.2$ 
Best wishes,
--greg

On Wed, Jul 21, 2010 at 7:10 PM, e.e <eed3si9n@gmail.com> wrote:
Hi greg,
If you have Scala 2.8.0, the easiest way is to use sbaz, which you've already tried. The installed script likely depends on $SCALA_HOME environment variable, so could you try it? The script is generated using my sbt port of Ant scalacript task.
Otherwise, INSTALL describes how to install it from scratch: http://github.com/eed3si9n/scalaxb/blob/master/INSTALL
Cheers,e.e
On Wed, Jul 21, 2010 at 8:25 AM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Dear e.e,
What's the best way to install scalaxb? i followed the instructions on github but found that it doesn't quite work. See the trace below.
Best wishes,
--greg
bash-3.2$ scalaxb address.xsd Exception in thread "main" java.lang.NoClassDefFoundError: scala/ScalaObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.scalaxb.compiler.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.ScalaObject at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 13 morebash-3.2$ 
On Fri, Jul 16, 2010 at 12:04 AM, e.e <eed3si9n@gmail.com> wrote:
Hi all,
scalaxb 0.2.0, an XML data binding tool for Scala, is available on sbaz.
- Implements support for <group>, <attributeGroup>, and <all>. - Fixed round trip of complex types containing sequences.- Generates toXML into the companion objects to simplify the case class.
For example,
    <xs:complexType name="Address">       <xs:sequence>        <xs:element name="name"   type="xs:string"/>        <xs:element name="street" type="xs:string"/>        <xs:element name="city"   type="xs:string"/>       </xs:sequence>    </xs:complexType>
turns to
    case class Address(name: String,      street: String,      city: String)
I'd also like to congratulate Martin and the whole Scala team for their great work in Scala 2.8.0.
Further information is available at http://scalaxb.org. GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com




--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com




--
Kevin Wright

mail/google talk: kev.lee.wright@gmail.com
wave: kev.lee.wright@googlewave.com
skype: kev.lee.wright
twitter: @thecoda




--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com
eed3si9n
Joined: 2010-01-24,
User offline. Last seen 42 weeks 6 days ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Hi greg,
scalaxb is now available online from http://scalaxb.org/.
Currently the feature is slightly limited compared to the command line version, but I think it's a good start. It dawned on me that I didn't need any mvc framework since there's only one method in my "RESTful API". Implementing plain old servlet using Scala 2.8.0 was fairly straightforward, and it worked fine on Google App Engine without any issues. It was a fun experience thanks to your push.
cheers,e.e
eed3si9n
Joined: 2010-01-24,
User offline. Last seen 42 weeks 6 days ago.
Re: Re: [scala-announce] ANN: scalaxb 0.2.0 is released
Hi greg,
scalaxb is now available online from http://scalaxb.org/.
Currently the feature is slightly limited compared to the command line version, but I think it's a good start. It dawned on me that I didn't need any mvc framework since there's only one method in my "RESTful API". Implementing plain old servlet using Scala 2.8.0 was fairly straightforward, and it worked fine on Google App Engine without any issues. It was a fun experience thanks to your push.
cheers,e.e

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland