facebook

BUILD FAILED: while running Xdoclet for Weblogic 8.1 SP3

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #235444 Reply

    Can any one tell me what might be the problem ???

    I am try to use weblogic 8.1 sp3 instead of jboss all the steps are same as is the document for creating EJB Project.

    http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/firstejb/index.html

    Configuring Application Server XDoclet for Weblogic

    Version = 8.1
    destDir = src/META-INF

    When i select MyEclipse > Run XDoclet i get the following error :

    Buildfile: D:\Workspace\firstejb\.xdoclet-build.tmp.xml
    N10004:
    [ejbdoclet] D:\Workspace\firstejb\.xdoclet-build.tmp.xml:33: weblogic: Argument for createtables must be one of (Disabled|CreateOnly|DropAndCreate|DropAndCreateAlways|AlterOrCreate) if version attribute is >= 8.1
    [ejbdoclet] at xdoclet.DocletTask.validateSubTasks(DocletTask.java:535)
    [ejbdoclet] at xdoclet.DocletTask.validateOptions(DocletTask.java:497)
    [ejbdoclet] at xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTask.java:81)
    [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:89)
    [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
    [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
    [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [ejbdoclet] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [ejbdoclet] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

    BUILD FAILED
    D:\Workspace\firstejb\.xdoclet-build.tmp.xml:33: Unexpected error

    Total time: 1 second[url][/url]

    #235464 Reply

    Riyad Kalla
    Member

    can you check the Xdoclet task for the createtables value? Do you see one?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: BUILD FAILED: while running Xdoclet for Weblogic 8.1 SP3

You must be logged in to post in the forum log in