Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a Base Repository
eed3si9n/scalaxb
0x6a77/scalaxb
AndreVanDelft/scalaxb-old
Banno/scalaxb
Chakree/scalaxb
ChristopherDavenport/scalaxb
DanyMariaLee/scalaxb
DmitryOlshansky/scalaxb
Erwan56/scalaxb
FlavioProsperi/scalaxb
FormationAI/scalaxb
Java1Guy/scalaxb
Kodeworks/scalaxb
Korbik/scalaxb
Melorian/scalaxb
OlegYch/scalaxb
RailHe/scalaxb
RomanIakovlev/scalaxb
Semantive/scalaxb
SupraFii/scalaxb
Synesso/scalaxb
Twistleton/scalaxb
agentcoops/scalaxb
agueganno/scalaxb
albedium/scalaxb
alexdupre/scalaxb
anatoliykmetyuk/scalaxb
anova-be/scalaxb
apschexn/scalaxb
arkadius/scalaxb
bbarker/scalaxb
bestwpw/scalaxb
bigmoby/scalaxb
bmontuelle/scalaxb
brianlow/scalaxb
briantopping/scalaxb
carter437/scalaxb
colinrgodsey/scalaxb
coutoPL/scalaxb
dagaharshit/scalaxb
dkhenry/scalaxb
dnvriend/scalaxb
donderom/scalaxb
dportabella/scalaxb
dwijnand/scalaxb
eallain-poctu/scalaxb
ecin/scalaxb
er1c/scalaxb
everpeace/scalaxb
fit51/scalaxb
fltt/scalaxb
gdtm86/scalaxb
ggreeff/scalaxb
gitter-badger/scalaxb
hedefalk/scalaxb
hosamaly/scalaxb
hungnguyengoc/scalaxb
ibatuash/scalaxb
isaka/scalaxb
jankeesvanandel/scalaxb
jarin/scalaxb
jet-black/scalaxb
jlavallee/scalaxb
jmarin4/scalaxb
joda/scalaxb
joescii/scalaxb
joshlreese/scalaxb
justjoheinz/scalaxb
keithschulze/scalaxb
kodjobaah/scalaxb
ktoso/scalaxb
lalloni/scalaxb
lbruand/scalaxb
liff/scalaxb
margussipria/scalaxb
martiell/scalaxb
mdr/scalaxb
mfedortsov/scalaxb
mirelon/scalaxb
mkljakubowski/scalaxb
mkotsbak/scalaxb
mmilenko/scalaxb
mprihoda/scalaxb
oscar-broman/scalaxb
oseval/scalaxb
oumsofiane1/scalaxb
ovotech/scalaxb
pferdwurst/scalaxb
pgrandjean/scalaxb
plaflamme/scalaxb
plankthom/scalaxb
pwmedcraft/scalaxb
rallysf/scalaxb
refond/scalaxb
repos-scala/scalaxb
retronym/scalaxb
rkyymmt/scalaxb
rogerchang/scalaxb
romainreuillon/scalaxb
rossabaker/scalaxb
rssh/scalaxb
rubbish/scalaxb
saswatsahu/scalaxb
schrepfler/scalaxb
sebigavril/scalaxb
sullis/scalaxb
timetotrade/scalaxb
trentio/scalaxb
varnerac/scalaxb
vegansk/scalaxb
williammmeyer/scalaxb
ystros/scalaxb
Nothing to show
...
Choose a Head Repository
eed3si9n/scalaxb
0x6a77/scalaxb
AndreVanDelft/scalaxb-old
Banno/scalaxb
Chakree/scalaxb
ChristopherDavenport/scalaxb
DanyMariaLee/scalaxb
DmitryOlshansky/scalaxb
Erwan56/scalaxb
FlavioProsperi/scalaxb
FormationAI/scalaxb
Java1Guy/scalaxb
Kodeworks/scalaxb
Korbik/scalaxb
Melorian/scalaxb
OlegYch/scalaxb
RailHe/scalaxb
RomanIakovlev/scalaxb
Semantive/scalaxb
SupraFii/scalaxb
Synesso/scalaxb
Twistleton/scalaxb
agentcoops/scalaxb
agueganno/scalaxb
albedium/scalaxb
alexdupre/scalaxb
anatoliykmetyuk/scalaxb
anova-be/scalaxb
apschexn/scalaxb
arkadius/scalaxb
bbarker/scalaxb
bestwpw/scalaxb
bigmoby/scalaxb
bmontuelle/scalaxb
brianlow/scalaxb
briantopping/scalaxb
carter437/scalaxb
colinrgodsey/scalaxb
coutoPL/scalaxb
dagaharshit/scalaxb
dkhenry/scalaxb
dnvriend/scalaxb
donderom/scalaxb
dportabella/scalaxb
dwijnand/scalaxb
eallain-poctu/scalaxb
ecin/scalaxb
er1c/scalaxb
everpeace/scalaxb
fit51/scalaxb
fltt/scalaxb
gdtm86/scalaxb
ggreeff/scalaxb
gitter-badger/scalaxb
hedefalk/scalaxb
hosamaly/scalaxb
hungnguyengoc/scalaxb
ibatuash/scalaxb
isaka/scalaxb
jankeesvanandel/scalaxb
jarin/scalaxb
jet-black/scalaxb
jlavallee/scalaxb
jmarin4/scalaxb
joda/scalaxb
joescii/scalaxb
joshlreese/scalaxb
justjoheinz/scalaxb
keithschulze/scalaxb
kodjobaah/scalaxb
ktoso/scalaxb
lalloni/scalaxb
lbruand/scalaxb
liff/scalaxb
margussipria/scalaxb
martiell/scalaxb
mdr/scalaxb
mfedortsov/scalaxb
mirelon/scalaxb
mkljakubowski/scalaxb
mkotsbak/scalaxb
mmilenko/scalaxb
mprihoda/scalaxb
oscar-broman/scalaxb
oseval/scalaxb
oumsofiane1/scalaxb
ovotech/scalaxb
pferdwurst/scalaxb
pgrandjean/scalaxb
plaflamme/scalaxb
plankthom/scalaxb
pwmedcraft/scalaxb
rallysf/scalaxb
refond/scalaxb
repos-scala/scalaxb
retronym/scalaxb
rkyymmt/scalaxb
rogerchang/scalaxb
romainreuillon/scalaxb
rossabaker/scalaxb
rssh/scalaxb
rubbish/scalaxb
saswatsahu/scalaxb
schrepfler/scalaxb
sebigavril/scalaxb
sullis/scalaxb
timetotrade/scalaxb
trentio/scalaxb
varnerac/scalaxb
vegansk/scalaxb
williammmeyer/scalaxb
ystros/scalaxb
Nothing to show
  • 2 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
Commits on Mar 09, 2013
mvn-scalaxb: Update to use scala 2.10.
This change adds a ${binary.version} property to the pom files,
in addition to ${scala.version}. This is to reflect sbt changes
that publish artifacts with the suffix _2.10 rather than _2.10.0.
View
@@ -47,10 +47,11 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <scala.version>2.9.1</scala.version>
+ <scala.version>2.10.0</scala.version>
+ <binary.version>2.10</binary.version>
<maven.version>2.0.9</maven.version>
- <junit.version>4.8.2</junit.version>
- <scalatest.version>1.6.1</scalatest.version>
+ <junit.version>4.11</junit.version>
+ <scalatest.version>1.9.1</scalatest.version>
</properties>
<scm>
@@ -63,7 +64,7 @@
<dependency>
<groupId>org.scalaxb</groupId>
- <artifactId>scalaxb_${scala.version}</artifactId>
+ <artifactId>scalaxb_${binary.version}</artifactId>
<version>${project.version}</version>
</dependency>
@@ -9,6 +9,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<scala.version>@scala.version@</scala.version>
+ <binary.version>@binary.version@</binary.version>
</properties>
<dependencies>
@@ -21,7 +22,7 @@
<dependency>
<groupId>org.scalatest</groupId>
- <artifactId>scalatest_${scala.version}</artifactId>
+ <artifactId>scalatest_${binary.version}</artifactId>
<version>@scalatest.version@</version>
<scope>test</scope>
</dependency>
@@ -9,6 +9,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<scala.version>@scala.version@</scala.version>
+ <binary.version>@binary.version@</binary.version>
</properties>
<dependencies>
@@ -21,7 +22,7 @@
<dependency>
<groupId>net.databinder.dispatch</groupId>
- <artifactId>dispatch-core_${scala.version}</artifactId>
+ <artifactId>dispatch-core_${binary.version}</artifactId>
<version>0.9.2</version>
</dependency>
@@ -106,6 +106,37 @@
@Parameter(property = "scalaxb.parameterPrefix")
private String parameterPrefix;
+ /**
+ * Wraps the content of specified complex types into separate case classes.
+ * <br/>
+ * By default, when a type inherits from a complex type, the case class
+ * generated for that type will include fields for the content of the
+ * inherited type. With some XML schemas, this cause case classes with many
+ * fields to be generated. Many fields can cause case classes to become
+ * inconvenient to use, and there is a limit to the number of fields that
+ * can appear in a case class (see <code>chunkSize</code>).
+ * <br/>
+ * The <code>&lt;wrapContents&gt;</code> option causes a separate case class
+ * to be generated for the named complex types. Where a type inherits from
+ * the complex type, it will have a reference to the case class for that
+ * complex type, instead of a number of fields for the content of that
+ * complex type.
+ * <br/>
+ * This option is useful when inheriting from complexTypes would cause a
+ * case class to contain too many fields. It may be a better alternative to
+ * using the <code>chunkSize</code> option, because that simply limits the
+ * number of fields in every generated case class. In contrast, this option
+ * provides more fine-grained control: it allows related fields to be
+ * grouped for a given set of types.
+ * <br/>
+ * For example, the following will generate a separate case class for the
+ * complex type named in the &lt;wrapContent&gt; element.
+ * <pre>
+ * &lt;wrapContents&gt;
+ * &lt;wrapContent&gt;{http://example.com/schema}ComplexType&lt;/wrapContent&gt;
+ * &lt;/wrapContents&gt;
+ * </pre>
+ */
@Parameter
private List<String> wrapContents;

No commit comments for this range