[jbosstools-dev] Weird bug in MavenLibraryProviderInstallOperation

Snjezana Peco snjezana.peco at redhat.com
Thu Apr 5 15:40:13 EDT 2012


If you mean the template.xml file in the 
<workspace_area>/org.jboss.maven.core/<library_name> directory,  it 
contains the original template and changes the user made when creating a 
library.
This feature works correctly and enables the user to change library 
templates.

Not sure what you want to achieve here?

Snjeza

Fred Bricon wrote:
> Hi Snjezana,
>
> I've been looking at the Maven Library provider lately for 
> https://issues.jboss.org/browse/JBIDE-10911 and there's something I 
> don't quite understand :
> In 
> https://github.com/jbosstools/jbosstools-svn-mirror/blob/trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/libprov/MavenLibraryProviderInstallOperation.java#L96 
> <https://github.com/jbosstools/jbosstools-svn-mirror/blob/trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/libprov/MavenLibraryProviderInstallOperation.java#L96%29> 
> when libraryResource is saved, the generated file contains the 
> original contents of the template, not those from libraryModel.
>
> I can't figure out what's wrong in the code. Do you have any idea?
>
> Regards,
>
> Fred Bricon
>
>



More information about the jbosstools-dev mailing list