-
1. Re: xdoclet tutorial
davidghous Apr 24, 2006 10:02 PM (in response to davidghous)by digging more I found the following error in the log
!ENTRY org.jboss.ide.eclipse.xdoclet.assist 4 0 2006-04-24 16:17:54.359
!MESSAGE Error while running XDoclet
!STACK 1
org.eclipse.core.runtime.CoreException: Reference to undefined variable ANTMOD_HOME
at org.eclipse.core.internal.variables.StringSubstitutionEngine.resolve(StringSubstitutionEngine.java:259)
at org.eclipse.core.internal.variables.StringSubstitutionEngine.substitute(StringSubstitutionEngine.java:192)
at org.eclipse.core.internal.variables.StringSubstitutionEngine.performStringSubstitution(StringSubstitutionEngine.java:86)
at org.eclipse.core.internal.variables.StringVariableManager.performStringSubstitution(StringVariableManager.java:557)
at org.eclipse.core.internal.variables.StringVariableManager.performStringSubstitution(StringVariableManager.java:347)
at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getVMArguments(AbstractJavaLaunchConfigurationDelegate.java:515)
at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:64)
at org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate.runInSeparateVM(AntLaunchDelegate.java:524)
at org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate.launch(AntLaunchDelegate.java:194)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:590)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:515)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:152)
at org.jboss.ide.eclipse.xdoclet.run.ui.actions.XDocletRunAction$1.run(XDocletRunAction.java:198)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
!SUBENTRY 1 org.eclipse.core.variables 4 120 2006-04-24 16:17:54.359
!MESSAGE Reference to undefined variable ANTMOD_HOME
!ENTRY org.eclipse.ant.ui 4 120 2006-04-24 16:18:04.375
!MESSAGE Error logged from Ant UI:
!STACK 0
java.net.SocketTimeoutException: Accept timed out
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.eclipse.ant.internal.ui.launchConfigurations.RemoteAntBuildListener$ServerConnection.run(RemoteAntBuildListener.java:97) -
2. Re: xdoclet tutorial
davidghous Apr 24, 2006 10:38 PM (in response to davidghous)Found the problem and fixed it by creating the ANTMOD_HOME and ANT_HOME variable in Eclipse:
1. Click on Window-->Preferences
2. Expand run/debug
3. Click String substitution
4. Add variable ANTMOD_HOME and set it to the location of antmod (i.e c\antmod-1.3.1
5. Add variable ANT_HOME and set it to the location of ant (i.e C:\eclipse\plugins\org.apache.ant_1.6.5) -
3. Re: xdoclet tutorial
ragnarokkrr May 10, 2006 12:09 AM (in response to davidghous)Hi,
this is a bit off-topic. I am looking (a lot) in web about ANTMOD accptance. Bu t i didnt fight not nmany references.
I anna know ho uses antmod in this post and if is satisfied with the tool.
thank you