[ http://jira.codehaus.org/browse/XDP-151?page=comments#action_56424 ]
Shash Chatterjee commented on XDP-151: -------------------------------------- On further testing, I am back to not being able to automatically get a maven2-xdoclet2-2.0.5-SNAPSHOT. Once I get it, install it using install:install-file (with the associated 4.0.0 POM), it worked. I also had to change the xdoclet-2.0.5-SNAPSHOT.pom to a 4.0.0 POM, but I am not sure if I needed to do this or not. In any case, you are right, I can confirm that I do not need to do pico and others. We may just need to figure out why the maven2-xdoclet2 artifacts cannot automatically be downloaded. Back to the generama mods.....I did find a problem. It used to check if basedir existed, and then if destdir started with basedir. Now it seems it is also checking if destdir exists (and,m notice below, the error message is incorrect, should say destdir). I like the old behavior, since it didn't need to exist, but XDoclet would just create the directory if needed. Now, I have: <config> <plugin>org.xdoclet.plugin.keel.ModelPlugin</plugin> <params> <destdir>${basedir}/conf/server</destdir> </params> <includes>**/*.java</includes> </config> I do not have a conf/server directory in every module where the plugin runs (and do not need it either). But now I get: Running org.xdoclet.plugin.keel.PersistPlugin [INFO] ------------------------------------------------------------------------- --- [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------- --- [INFO] XDoclet plugin failed: basedir c:\Users\Shash\Java\workspaces\keel\keel-b uild\..\svc-usergroupmgr-api\conf\server does not exist > plugin-plugin fails on Windows when basedir and output location have > case-mismatch in drive letter > -------------------------------------------------------------------------------------------------- > > Key: XDP-151 > URL: http://jira.codehaus.org/browse/XDP-151 > Project: XDoclet 2 Plugins > Type: Bug > Versions: 1.0.3 > Environment: Windows XP Pro > Sun JDK-1.5 > Maven 2 (2.0.1) > Reporter: Shash Chatterjee > Assignee: Grégory Joseph > Attachments: plugin-plugin-patch.txt > > > When using the xdoclet2-maven2-plugin, and invoking plugin-plugin, sometimes > the plugin will fail. The root cause is that sometimes plugin-plugin > determines the basedir to start with "C:" (uppercase), and the maven plugin > is provided a configured value with "c:" (lowercase), and a > String.startsWith() fails. > A patch is attached, that checks if the second character of the path is a > colon, indicating a Windows drive designator, and converts the drive > character to upper-case for comparision purposes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest