[JBoss JIRA] Created: (JBIDE-9255) Duplicate java elements in CDI validation problem message
by Alexey Kazakov (JIRA)
Duplicate java elements in CDI validation problem message
---------------------------------------------------------
Key: JBIDE-9255
URL: https://issues.jboss.org/browse/JBIDE-9255
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.3.0.M3
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.3.0.M3
EXECUTE: Create any CDI project with Seam Solder module.
EXECUTE: Create a few types:
{code}
@Retention(RUNTIME)
@GenericType(MessageSystemConfiguration.class)
@interface ACMEQueue {
String name();
}
{code}
{code}
public class MyMessageQueues {
@Produces
@ACMEQueue("defaultQueue")
@Named("aaa")
MessageSystemConfiguration defaultQueue = new MessageSystemConfiguration(null);
@Produces
@Durable
@ACMEQueue("defaultQueue")
@Named("aaa")
MessageSystemConfiguration defaultQueue1 = new MessageSystemConfiguration(null);
}
{code}
{code}
@GenericConfiguration(ACMEQueue.class)
class MessageManager {
@Inject
@Generic
MessageQueue queue;
@Produces
@ApplyScope
MessageDispatcher messageDispatcherProducer() {
return queue.createMessageDispatcher();
}
@Produces
DispatcherPolicy getPolicy() {
return queue.getDispatcherPolicy();
}
}
{code}
{code}
@GenericConfiguration(ACMEQueue.class)
@ApplyScope
public class QueueManager implements Serializable {
@Produces
@ApplyScope
public MessageQueue messageQueueProducer() {
// return factory.createMessageQueue(config.name());
return null;
}
}
{code}
{code}
public interface MessageQueue {}
{code}
EXECUTE: Save the files.
ASSERT: Both @Named("aaa") marked as duplicate EL names: "A few beans (QueueManager.messageQueueProducer(), MyMessageQueues.defaultQueue1, MyMessageQueues.defaultQueue) have the same EL name and the name is not resolvable [JSR-299 §5.3.1]
FAILURE: Both @Named("aaa") marked as duplicate EL names: "A few beans (QueueManager.messageQueueProducer(), MyMessageQueues.defaultQueue1, MyMessageQueues.defaultQueue, QueueManager.messageQueueProducer()) have the same EL name and the name is not resolvable [JSR-299 §5.3.1] <-- QueueManager.messageQueueProducer() mentioned twice!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBIDE-9302) Maven CDI Configurator: Update project configuration fails on EJB / WAR project with CDI dependency
by Gonne Martens (JIRA)
Maven CDI Configurator: Update project configuration fails on EJB / WAR project with CDI dependency
---------------------------------------------------------------------------------------------------
Key: JBIDE-9302
URL: https://issues.jboss.org/browse/JBIDE-9302
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven
Affects Versions: 3.3.0.M2
Environment: Eclipse 3.7, WTP 3.3, m2e 1.0, JBoss Maven CDI Configurator 1.2.0.v20110624-0731-H5-M2, Java 1.6.0_23 64bit, Windows 7 64bit
Reporter: Gonne Martens
Assignee: Fred Bricon
Updating the project configuration (Menu Maven -> Update project configuration) for a simple maven EJB/WAR project with a CDI dependency (javax.enterprise:cdi-api:1.0-SP4) results in the following error message:
{code}
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'sandbox-ejb'.
Cannot compare versions of different facets to each other.
Attempted to compare version 3.1 of facet jst.ejb with version 2.5 of facet jst.web.
{code}
The error disappears when the "CDI facet" in Preferences/JBoss Tools/JBoss Maven Integration is disabled.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBIDE-9266) Replace/Extend latestBuild.html with a latest symbolic link
by Max Rydahl Andersen (JIRA)
Replace/Extend latestBuild.html with a latest symbolic link
-----------------------------------------------------------
Key: JBIDE-9266
URL: https://issues.jboss.org/browse/JBIDE-9266
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Build/Releng
Reporter: Max Rydahl Andersen
Assignee: Nick Boldt
I see we have more and more latestBuild.html present all over and I'm suggestion we replace those with "latest" symbolic links instead.
Here is how to automate that on downloads.jboss.org at least:
echo -e "rm latest\nln 2011-06-27_10-25-32-H2980 latest" | sftp tools@filemgmt.jboss.org:/downloads_htdocs/tools/builds/nightly/trunk
The actual paths should of course be replaced with proper variable replacements.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBIDE-9221) booking3-mavenized is incorrectly imported
by Libor Zoubek (JIRA)
booking3-mavenized is incorrectly imported
------------------------------------------
Key: JBIDE-9221
URL: https://issues.jboss.org/browse/JBIDE-9221
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples, maven
Affects Versions: 3.3.0.M2
Reporter: Libor Zoubek
Assignee: Snjezana Peco
Fix For: 3.3.0.M3
Attachments: 2011-06-22-125331.png
There is nothing special in .log it looks like m2e is not present (see screenshot), but it is
* JBoss Maven Integration 1.2.0.v20110617-2053-H271-M2
* m2e - Maven Integration for Eclipse 1.0.0.201106052308
* Maven Integration for WTP (Optional) 0.13.0.201106020304
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months