[jbosstools-dev] Weird bug in MavenLibraryProviderInstallOperation

Max Rydahl Andersen max.andersen at redhat.com
Mon Apr 9 05:51:16 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.

Haven't seen this feature - how I do see/enable that ?

storing templates that contains dependencies that often needs updated sounds like
a really bad thing to store in the workspace by default since it prevents future updates.

/max

> 
> 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
>> 
>> 
> 
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev




More information about the jbosstools-dev mailing list