[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-30 Thread sanches
I've updated https://jira.jboss.org/jira/browse/JBDS-804
with two other sample projects, explanations and screenshots.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4246893#4246893

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246893
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-27 Thread sanches
Snjezana,

I've tested latest version on the sample project which contains EJB, JAR, EAR 
and container.
There are some issues discovered.
I've created JIRA 
https://jira.jboss.org/jira/secure/ManageAttachments.jspa?id=12390566 where all 
steps are described and zip with maven projects is attached.
Could you take a look please?

Alex.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4246155#4246155

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246155
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-23 Thread sanches
snjeza,

Seems like I can not check Maven Integration Facet on Maven project with 
packaging type of jar.
pom.xml:
packagingjar/packaging

jar packaging is valid for complex Maven J2EE projects,
where parent project contains some EJBs, container EAR and shared jars.
Shared jar is not J2EE module, but is included into resulting EAR

Alex.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4245539#4245539

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4245539
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-23 Thread snjeza
Could you please create a jira and attach an example of your project?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4245706#4245706

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4245706
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-20 Thread snjeza
I have created a jira enhancement request: 
https://jira.jboss.org/jira/browse/JBIDE-4632

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4244436#4244436

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244436
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-20 Thread sanches
Sorry, this is actually looks like a feature.
Adding version to compiler plugin solves the trouble.Proper runtime is used 
then.

plugin
  | artifactIdmaven-compiler-plugin/artifactId
  | configuration
  | source1.6/source
  | target1.6/target
  | /configuration
  | /plugin

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4244376#4244376

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244376
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-20 Thread sanches
snjeza,

I've tried latest nightly build of Maven Integration with developer ver. of 
m2eclipse and Subversion from tigris.org

The following looks like a bug:
The EJB project creates pretty well with proper JRE and Maven Dependencies 
build entries.
But when I right-click on the project and choose Maven-Update Project 
configuration, proper JRE is removed and incorrect one is added:
J2SE-1.4 (jdk1.6.0_10)
Due to this an error appears on the project: 
EJB 3.0 requires Java 5 or newer

The same behavior is when I check out project from SVN (SVN Repositories-right 
click on project-Check out as Maven Project), the project which is checked 
out, has following build path entry:
J2SE-1.4 (jdk1.6.0_10)

The list of Execution environment contains many entries like
J2SE-1.* (jdk1.6.0_10), but all marked with (jdk1.6.0_10)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4244369#4244369

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244369
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-15 Thread sanches
snjeza,

Is developer supposed to be able to turn on Maven Integration for new projects 
like EJB Project or Enterprise Application Project?

I upgraded to Version: 1.0.0.M3-N200907101443-H38,
but do not see Maven Integration Facet in:
File-New-EJB Project-Configuration-Modify

Thanks,
Alex.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243733#4243733

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243733
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-15 Thread snjeza
I have fixed https://jira.jboss.org/jira/browse/JBIDE-4604 , but there isn't 
any successful build yet that includes this fix. 
The new build will require m2eclipse = 0.9.9.200907071528 that can be updated 
from the http://m2eclipse.sonatype.org/update-dev update site.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243773#4243773

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243773
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-10 Thread sanches
snjeza,

Thanks, that version of m2eclipse works as shown in screencast.

Do I actually use Maven Integration feature only with Dynamic Web Projects?
On the same configuration neither EAR nor EJB projects allow adding JBoss Maven 
Integration facet together with EAR or EJB module:
On Project Facets' page errors are shown:
Requires all of the following facets:
Dynamic Web Module 2.3 or newer

I am asking because I've seen following statement in JBIDE-3874:
anonymous wrote : The following features have been added:
  | - JBoss Maven Integration facet
  | This facet adds Maven capabilities to the project (Maven nature, builder 
and classpath container). If the project contains the EJB, WAR or EAR facet, 
the JBoss Maven Integration facet adds the corresponding plugin.
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4242884#4242884

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242884
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-10 Thread snjeza
That is a bug. See https://jira.jboss.org/jira/browse/JBIDE-4604

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4242987#4242987

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242987
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-09 Thread snjeza
sanches,

you can use the 0.9.8.200905041414 version of m2eclipse that is compatible with 
the current JBoss Maven Integration. This version is placed on the 
http://m2eclipse.sonatype.org/update update site.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4242629#4242629

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242629
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-08 Thread sanches
snjeza,

I've installed fresh Eclipse Galileo 3.5, downloaded and installed:
JBossASTools 2.1.0.M3 from nightly build site ()
* Dev build of Maven plugin from http://m2eclipse.sonatype.org/update-* dev 
version of plugin is displayed as 0.9.9.2009.07071528 
(newer than shown in the screencast at http://screencast.com/t/bOv02ocE)
* Seam 2.1.2 (had to, without installed Seam wizard blocks)

I followed the steps like in the screencast, and discovered the following 
troubles:
* After pressing 'Finish' button in the wizard for 'Seam Web Project' something 
is happening, but dialog is not closed.
* Single project is created (not bundle (ear+ejb+parent+test), as in screencast)
* JBoss Maven Integration Facet is not chosen in the facets of that single 
project, and when I try to check it and click Ok, the error is displayed: 
Failed while installing JBoss Maven Integration 1.0.
Reason: 
Build path contains duplicate entry:
'org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER' for project 'mvntst'


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4242471#4242471

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242471
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-08 Thread snjeza
m2eclipse has changed API. I have created 
https://jira.jboss.org/jira/browse/JBIDE-4588 and will fix it ASAP.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4242495#4242495

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242495
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-07 Thread snjeza
You can create a project as described in 
https://jira.jboss.org/jira/browse/JBIDE-3874 - screencast 
http://screencast.com/t/bOv02ocE
The project can be used in Eclipse and from the command line.

You can also create a wtp project using maven-eclipse-plugin. See 
http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html and 
http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4242275#4242275

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242275
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-07 Thread sanches
Hi snjeza,
Thank you very much!
anonymous wrote : 
  | You can create a project as described in 
https://jira.jboss.org/jira/browse/JBIDE-3874 - screencast 
http://screencast.com/t/bOv02ocE 
  | The project can be used in Eclipse and from the command line. 
  | 
Excellent! I'll follow this screencast and have a try.
Isn't any documentation already available?
anonymous wrote : 
  | You can also create a wtp project using maven-eclipse-plugin. See 
http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html and 
http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html
I haven't heard much about WTP, so first case will be first :)
But, thank you for another option!

Alex.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4242295#4242295

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242295
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user