- This topic has 5 replies, 2 voices, and was last updated 21 years, 9 months ago by
Scott Anderson.
-
AuthorPosts
-
ErezMemberHi,
I am trying to run xDoclet and it fails saying it cannot find the ‘src’ directory. My Application consists of EAR, EJB and WEB projects which I created using the wizards and customized to fit better my source directory structure to overcome the problem of dependent projects/packages.
The file directory tree is as follows:
- workspace - src - services (session EJBs) - domain (entity EJBs) - common (simple java classes contains sub-packages) - web (root dir for the struts actions, etc..) - util (java utility classes) - delegate (business logic delegate classes) - Logic (The EJB Project) - META-INF MANIFEST.MF - Web (The WEB Project) - APP (The EAR Project)
Both the WEB and My Logic (EJB Project) have instead of physical src sub-dir a linked-resource ‘src’ directory pointing to the real top-level source directory.
All that to ask a small simple question: Does xDoclet can handle this linked-resource directory?? I hope It’s only me doing a stupid mistake of configuration 🙂
I am using myEclipse 3.6.2
LOG I got:
[ejbdoclet] C:\dev\tutim\Logic\src not found.
[ejbdoclet] at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:369)
[ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:88)
[ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
[ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341)
[ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
[ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
[ejbdoclet] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:578)
[ejbdoclet] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:376)
[ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
[ejbdoclet] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:341)
[ejbdoclet] at org.eclipse.ant.ui.internal.launchConfigurations.AntLaunchDelegate.launch(AntLaunchDelegate.java:225)
[ejbdoclet] at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:156)
[ejbdoclet] at org.jboss.ide.eclipse.xdoclet.run.ui.actions.XDocletRunAction$1.run(XDocletRunAction.java:151)
[ejbdoclet] at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)Thanks a lot,
Erez
October 7, 2003 at 9:52 am #199049
Scott AndersonParticipantErez,
All that to ask a small simple question: Does xDoclet can handle this linked-resource directory?? I hope It’s only me doing a stupid mistake of configuration
We’ll have to investigate it internally for a specific answer, but I don’t think the XDoclet system supports links like this. I’ve added it as an issue in our internal tracking system so we can address it in a subsequent service release. Thanks for bringing it to our attention.
–Scott
MyEclipse SupportOctober 7, 2003 at 10:04 am #199053
ErezMemberBy the way, a way to get around it is to direct xDoclet to relative pathes like ‘destDir = ..\src’ and ‘fileset=”..\src”. I am currently checking it but it looks working at least it started generating the files.
I guess persistency pays after all.. (but the price.. 🙂Erez
October 7, 2003 at 10:07 am #199055
Scott AndersonParticipantErez,
I guess persistency pays after all.. (but the price.. 🙂
It does. Now how about recouping your investigation investment by writing a tutorial and submitting it as an entry into our Contest? See the News & Updates page for more details.
–Scott
MyEclipse SupportOctober 7, 2003 at 10:25 am #199056
ErezMemberI thought about it but I saw that it goes only for 2.6.2, is this true?
Erez
October 7, 2003 at 12:33 pm #199064
Scott AndersonParticipantErez,
As long as it also works in 2.6.2, that’s sufficient. 3.6.2 has the same feature set so it should, unless you use and Eclipse 3.0-specfic functionality.
–Scott
MyEclipse Support -
AuthorPosts