[jbosstools-issues] [JBoss JIRA] (JBIDE-17713) ProjectExample definition content mutates every time an example is created

Fred Bricon (JIRA) issues at jboss.org
Mon Jun 30 05:31:24 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-17713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Bricon updated JBIDE-17713:
--------------------------------

    Description: 
Each ProjectExample instance, loaded from project example descriptors is mutated several times when actual exampled are created, such as https://github.com/jbosstools/jbosstools-central/blob/94cccaa18c185657c5c04a77f790942a671e7156/maven/plugins/org.jboss.tools.maven.project.examples/src/org/jboss/tools/maven/project/examples/ImportMavenProjectExampleDelegate.java#L171.

This prevents us from mixing for instance maven projects with non maven projects, since we lose all expected project names

The example definition and the actual example set per the user choices should be split, using the concept of a working copy (similar to what is done for launchconfigurations or runtimes) 
 

  was:
Each ProjectExample instance, loaded from project example descriptors is mutated several times when actual exampled are created, such as https://github.com/jbosstools/jbosstools-central/blob/94cccaa18c185657c5c04a77f790942a671e7156/maven/plugins/org.jboss.tools.maven.project.examples/src/org/jboss/tools/maven/project/examples/ImportMavenProjectExampleDelegate.java#L171.

This prevents us from mixing for instance maven projects with non maven projects

The example definition and the actual example set per the user choices should be split, using the concept of a working copy (similar to what is done for launchconfigurations or runtimes) 
 



> ProjectExample definition content mutates every time an example is created
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-17713
>                 URL: https://issues.jboss.org/browse/JBIDE-17713
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: project-examples
>    Affects Versions: 3.2.0.Final
>            Reporter: Fred Bricon
>            Assignee: Fred Bricon
>             Fix For: 4.2.0.Beta3
>
>
> Each ProjectExample instance, loaded from project example descriptors is mutated several times when actual exampled are created, such as https://github.com/jbosstools/jbosstools-central/blob/94cccaa18c185657c5c04a77f790942a671e7156/maven/plugins/org.jboss.tools.maven.project.examples/src/org/jboss/tools/maven/project/examples/ImportMavenProjectExampleDelegate.java#L171.
> This prevents us from mixing for instance maven projects with non maven projects, since we lose all expected project names
> The example definition and the actual example set per the user choices should be split, using the concept of a working copy (similar to what is done for launchconfigurations or runtimes) 
>  



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list