hi all,
i have a webapp that is built using XDOclet2, which is using qdox in the
background..
I keep on receivng this exception while running my generation code

XDoclet plugin failed: syntax error @[9,12] in
file:/home/marco/WebWorkMain/WebWorkBackend/src/main/java/bus/Planet.java


and this happens because of the enum keyworkd in the followin class

package bus;

/**
* Test class for Enum
* @author marco
*
*/
public enum Planet {
   MERCURY("test1"),
   PLUTO("TEST2"),
   EARTH("TEST3");

   private String prefix;
   Planet(String prefix){
       this.prefix = prefix;
   }

   public String prefix(){ return prefix; }

   public String toString(){
       return prefix;
   }
}


i have tried to download qdox 1.5 binaries and install it in my repository
(i am using maven2 to build my project) but still
it looks like that enum problem hasnt been solved..

can anyone of qdox guy confirm this?

thanks and regards
Marco
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to