users@wadl.java.net

RE: generate multiple WADL files, each in its own package

From: Hadley, Marc J <mhadley_at_mitre.org>
Date: Fri, 2 Jul 2010 07:41:44 -0400

Perhaps I misunderstood, the project here generates code from WADL, not the other way round.

You could generate code from multiple WADLs using multiple actions within an ant or maven script, I don’t see any need for an additional configuration file to do the same thing…

Marc.

From: Pham Duc Tri [mailto:phamductri_at_gmail.com]
Sent: Thursday, July 01, 2010 7:03 PM
To: users_at_wadl.dev.java.net
Subject: generate multiple WADL files, each in its own package

I wonder if the library is capable of generating multiple WADL files, with each wadl generated codes reside in its own package. For example (using Maven):

 <configuration>
                                                          <sourceDirectory>firstWADL.wadl</sourceDirectory>
                                                          <packageName>com.java.firstpackage</packageName>
                                                          <autopackaging>true</autopackaging>
                                              </configuration>

<configuration>
                                                          <sourceDirectory>secondWADL.wadl</sourceDirectory>
                                                          <packageName>com.java.secondpackage</packageName>
                                                          <autopackaging>true</autopackaging>
                                              </configuration>

I don't see something like this is mentioned in the documentation. Is it possible to do this ?