facebook

can not rebuild xdoclet-build.xml in ME 2.7.1 [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #219909 Reply

    sbarreros
    Member

    A while back I created some ejbs with MyEclipse and I am beginning to think it was a big mistake.
    Since then, I have reinstalled my computer and my configuration is not the same as it used to be. For example the path of my jdk is not the same, as well as the path of my workspace.

    Originally I used Eclipse 2.1.2 and Myclipse plugin 2.6.4
    my jdk was installed under C:\jdk1.2.2
    and my workspace was under D:/Development/JBoss/workspace

    My new configuration is Eclipse 2.1.2 and Myeclipse plugin 2.7.1 (both installed in the same path as the original)
    my jdk is installed under C:\j2sdk1.4.2_05
    and my workspade under C:\eclipse\workspace

    I have properly configured my jdk and other settings for Under Window>Preferences>MyEcllipse

    I have imported one of my EJBs into my new setup and try to go under
    MyEclipse>RunXdoclet
    And this is the message I get
    I am assuming this is because I have the newer plug in

    ===============================================
    Buildfile: C:\eclipse\workspace\webxnetlogic\xdoclet-build.xml

    N400004:
    [taskdef] BUILD FAILED: file:C:/eclipse/workspace/webxnetlogic/xdoclet-build.xml:28: C:\Program Files\eclipse\MyEclipse\eclipse\plugins\org.jboss.ide.eclipse.xdoclet.core_2.6.4 not found.
    Total time: 180 milliseconds
    ===============================================

    Here is the top part of my xdoclet-build.xml
    ================================================
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <project default=”_generation_” name=”XDoclet Generator”>
    <path id=”xdoclet.classpath”><pathelement location=”D:/Development/JBoss/workspace/webxnetlogic/classes”/>
    <pathelement location=”C:/jdk1.2.2/jre/lib/rt.jar”/>
    <pathelement location=”C:/jdk1.2.2/jre/lib/sunrsasign.jar”/>
    <pathelement location=”C:/jdk1.2.2/jre/lib/jsse.jar”/>
    <pathelement location=”C:/jdk1.2.2/jre/lib/jce.jar”/>
    <pathelement location=”C:/jdk1.2.2/jre/lib/charsets.jar”/>
    <pathelement location=”C:/jdk1.2.2/jre/lib/ext/dnsns.jar”/>
    <pathelement location=”C:/jdk1.2.2/jre/lib/ext/ldapsec.jar”/>
    <pathelement location=”C:/jdk1.2.2/jre/lib/ext/localedata.jar”/>
    <pathelement location=”C:/jdk1.2.2/jre/lib/ext/sunjce_provider.jar”/>
    <pathelement location=”D:/jboss-3.2.2/client/jboss-client.jar”/>
    <pathelement location=”C:/Program Files/eclipse/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_2.6.4/data/libraryset/1.3/activation.jar”/>
    <pathelement location=”C:/Program Files/eclipse/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_2.6.4/data/libraryset/1.3/javax.servlet.jar”/>
    <pathelement location=”C:/Program Files/eclipse/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_2.6.4/data/libraryset/1.3/jboss-j2ee.jar”/>
    <pathelement location=”C:/Program Files/eclipse/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_2.6.4/data/libraryset/1.3/jboss-jaas.jar”/>
    <pathelement location=”C:/Program Files/eclipse/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_2.6.4/data/libraryset/1.3/jsse.jar”/>
    <pathelement location=”C:/Program Files/eclipse/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_2.6.4/data/libraryset/1.3/jts.jar”/>
    <pathelement location=”C:/Program Files/eclipse/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_2.6.4/data/libraryset/1.3/mail.jar”/>

    <fileset dir=”C:/Program Files/eclipse/MyEclipse/eclipse/plugins/org.jboss.ide.eclipse.xdoclet.core_2.6.4/”>
    <include name=”*.jar”/>
    </fileset>
    </path>
    <target name=”_generation_” depends=”N400004″/>
    <target name=”N400004″ description=”Standard EJB”>
    <taskdef classpathref=”xdoclet.classpath” classname=”xdoclet.modules.ejb.EjbDocletTask” name=”ejbdoclet”/><ejbdoclet ejbSpec=”2.0″ excludedTags=”@version,@author,@todo” destDir=”src” verbose=”true” addedTags=”@xdoclet-generated at ${TODAY},@copyright The XDoclet Team,@author XDoclet,@version ${version}” >
    =========================================================================

    It still contains the old paths and configurations of my old set up
    I have tried going into the MyEclipse-XDoclet proprerties are and delete the
    Standard EJB configuration and add a new one but I get this error message
    =================================================
    Failed to save configuration

    “java.land.reflect.InvocationTargetException”

    ==================================================

    I have tried deleting the xdoclet-build.xml file but I can not recreate it again, luckily I have a copy of the workspace.

    Is thhere anything I can do to solve this issue before I start modifying the xdoclet-build.xml manually which would take days because I have a few projects.

    Is there a way I need to go about migrating it to the new setup?
    Is there a way I can rebuild the xdoclet-build.xml to reflect the new setup?

    Thanks for any help, I have been trying to make this work for days now and it is very frustrating.
    Thanks.

    #219920 Reply

    Riyad Kalla
    Member

    Please navigate to your project properties, go to MyEclispe-XDoclet, and click “Apply” or “OK”, this will implicitly recreate the XDOclet file for you with the correct paths.

    We would strongly encourage you to upgrade to Eclipse 3.0.1 and MyEclipse 3.8.3 when it is released in early december as there are quite a few enhancements and bug fixes to the XDoclet system such that this issue will not popup for you again. Also the XDoclet libraries and wizards have been updated as well.

    In addition to XDoclet, there are 100s upon 100s of enhancements and bugfixes to MyEclipse over the version you are using now as well as the Eclipse platform.

    #220098 Reply

    sbarreros
    Member

    Thanks for the response, but it gives me the same error message
    =============================================
    Failed to save configuration

    “java.land.reflect.InvocationTargetException”
    ===============================================

    What I ended up doing is creating a new ejb project and copied the top portion of the xdoclet-build.xml file into
    my old projects and they compiled with no problem, I will try to upgrade at a later day because for now I need to work on these projects asap, but it is rather frustrating to have to copy the new paths into my old projects, just because I moved some stuff around, I would think that this should be done automatically by the application.

    THanks for the reply though.

    #220100 Reply

    Riyad Kalla
    Member

    sbarreros,
    This is one of the enhancements we made to the 3.8.2 and 3.8.3 releases of MyEclipse, in 3.8.3 the script will honor moved resources. Sorry you had to run into this inconvenience.

    #220302 Reply

    sbarreros
    Member

    For any one that wants to know, I found what the problem was. The files and folders created in each of my folders by Eclipse like the .xdoclet .project etc etc had the hidden property on, so I right clicked on each of the files and folders and unchedked the hidden property and it works like a charm.

    Thanks for the help

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: can not rebuild xdoclet-build.xml in ME 2.7.1 [Closed]

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