[jbosstools-issues] [JBoss JIRA] (JBDS-2259) Scala jar missing in WAR when project uses JBDS and Scala IDE
Fred Bricon (JIRA)
jira-events at lists.jboss.org
Tue Sep 4 11:56:32 EDT 2012
[ https://issues.jboss.org/browse/JBDS-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715804#comment-12715804 ]
Fred Bricon edited comment on JBDS-2259 at 9/4/12 11:55 AM:
------------------------------------------------------------
Here's an update site containing a basic fix for this issue : the Scala lib is marked as deployable if the Maven lib is too.
Download [#m2e-scala-0.4.2-SNAPSHOT-site.zip] locally. In Eclipse :
* Help > Install New software
* Click Add...
* Click on local, point at the zipped update site
* click Ok
* Select Maven Integration for Scala IDE, continue installation as usual
* Once installed, restart Eclipse
Created PR upstream : https://github.com/sonatype/m2eclipse-scala/pull/22
was (Author: fbricon):
Here's an update site containing a basic fix for this issue : the Scala lib is marked as deployable if the Maven lib is too.
Download [#m2e-scala-0.4.2-SNAPSHOT-site.zip] locally. In Eclipse :
* Help > Install New software
* Click Add...
* Click on local, point at the zipped update site
* click Ok
* Select Maven Integration for Scala IDE, continue installation as usual
* Once installed, restart Eclipse
> Scala jar missing in WAR when project uses JBDS and Scala IDE
> -------------------------------------------------------------
>
> Key: JBDS-2259
> URL: https://issues.jboss.org/browse/JBDS-2259
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Upstream
> Affects Versions: 5.0.0.GA
> Reporter: Galder Zamarreño
> Assignee: Fred Bricon
> Attachments: m2e-scala-0.4.2-SNAPSHOT-site.zip, standard-lift-app-JDBS.png, standard-lift-app-Maven.png
>
>
> I've discovered a bug in JBDS/Eclipse.
> The application is: https://github.com/escalante/escalante-quickstart/tree/master/standard-helloworld-lift
> If I build a war with Maven, it includes all the jars, see: https://dl.dropbox.com/u/6148072/standard-lift-app-Maven.png
> If I build the war, it seems to forget the scala-library jar (at least), see: https://dl.dropbox.com/u/6148072/standard-lift-app-JDBS.png
> Of course, without the scala-library jar, the application fails to deploy when deployed via JDBS.
> Note: This is a JDBS instance installed with Scala 2.9 IDE, and the IDE correctly identifies the project being a Scala project.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list