[jbosstools-issues] [JBoss JIRA] (JBDS-3199) Creating a new HTML5 "from scratch" retains "kitchensink" string in datasources instead of picking up actual project names

Fred Bricon (JIRA) issues at jboss.org
Fri Feb 6 09:56:49 EST 2015


    [ https://issues.jboss.org/browse/JBDS-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038354#comment-13038354 ] 

Fred Bricon commented on JBDS-3199:
-----------------------------------

In richfaces kitchensink, when enabling the debug profile, the build breaks with "Project build error: 'dependencies.dependency.version' for com.sun.faces:jsf-impl:jar is missing"

I don't think that profile is useful/needed at all. JBT/JBDS is capable of identifying the exact JSF impl used by the application server, while debugging the app.

{noformat}
<profile>
    <!-- Activate this profile to identify to the IDE which version of the JSF impl is being used by the
        application server.-->
    <!-- Be sure to include the JBoss maven repository, as the JBoss jsf-impl artifacts are not in maven
        central. -->
    <!-- See: https://community.jboss.org/wiki/MavenGettingStarted-Developers -->
    <id>debug</id>
    <dependencies>
        <!-- Import the JSF impl, to allow for application debugging -->
        <dependency>
            <groupId>com.sun.faces</groupId>
            <artifactId>jsf-impl</artifactId>
            <scope>provided</scope>
        </dependency>
    </dependencies>
</profile>
{noformat}

other minor annoyance is the kitchensink cheatsheet that needs to s/Kitchensink-rf/${artifactId}/g

> Creating a new HTML5 "from scratch" retains "kitchensink" string in datasources instead of picking up actual project names
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBDS-3199
>                 URL: https://issues.jboss.org/browse/JBDS-3199
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>          Components: central, upstream
>    Affects Versions: 8.0.0.GA
>            Reporter: Len DiMaggio
>            Assignee: Fred Bricon
>             Fix For: 8.1.0.GA
>
>
> These "kitchensink" strings are retained:
> grep -ir kitchen *
> main/resources/META-INF/persistence.xml:      <jta-data-source>java:jboss/datasources/KitchensinkHTML5MobileQuickstartDS</jta-data-source>
> main/webapp/WEB-INF/kitchensink-quickstart-ds.xml:    <datasource jndi-name="java:jboss/datasources/KitchensinkHTML5MobileQuickstartDS"
> main/webapp/WEB-INF/kitchensink-quickstart-ds.xml:        pool-name="kitchensink-quickstart" enabled="true"
> test/resources/arquillian-ds.xml:   <datasource jndi-name="java:jboss/datasources/KitchensinkHTML5MobileTestDS"
> test/resources/META-INF/test-persistence.xml:      <jta-data-source>java:jboss/datasources/KitchensinkHTML5MobileTestDS</jta-data-source>



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list