Patch for JBAS-5471
by Galder Zamarreno
Hi Scott/Carlo,
Re: http://jira.jboss.com/jira/browse/JBAS-5471
I've fixed this applying the changes in the attached patch. Explanation
of the resolution can be found in the comments I made in the JIRA. As I
hardly know this area, could you please review it?
Cheers,
--
Galder Zamarreño
Sr. Software Maintenance Engineer
JBoss, a division of Red Hat
Index: /home/galder/jboss/code/as/trunk.ejbthree-1015/ejb3/src/main/org/jboss/ejb3/deployers/Ejb3JBoss5Deployment.java
========================…
[View More]===========================================
--- /home/galder/jboss/code/as/trunk.ejbthree-1015/ejb3/src/main/org/jboss/ejb3/deployers/Ejb3JBoss5Deployment.java (revision 72518)
+++ /home/galder/jboss/code/as/trunk.ejbthree-1015/ejb3/src/main/org/jboss/ejb3/deployers/Ejb3JBoss5Deployment.java (working copy)
@@ -28,10 +28,10 @@
import org.jboss.ejb3.DeploymentScope;
import org.jboss.ejb3.DeploymentUnit;
import org.jboss.ejb3.Ejb3Deployment;
-import org.jboss.ejb3.MCKernelAbstraction;
import org.jboss.ejb3.javaee.JavaEEComponent;
import org.jboss.ejb3.metadata.jpa.spec.PersistenceUnitsMetaData;
import org.jboss.kernel.Kernel;
+import org.jboss.logging.Logger;
import org.jboss.metadata.ejb.jboss.JBossMetaData;
/**
@@ -39,6 +39,7 @@
*
* @author <a href="mailto:bill@jboss.org">Bill Burke</a>
* @author adrian(a)jboss.org
+ * @author <a href="mailto:galder.zamarreno@jboss.com">Galder Zamarreno</a>
* @version $Revision: 56592 $
*/
public class Ejb3JBoss5Deployment extends Ejb3Deployment
@@ -43,6 +44,8 @@
*/
public class Ejb3JBoss5Deployment extends Ejb3Deployment
{
+ private static final Logger log = Logger.getLogger(Ejb3JBoss5Deployment.class);
+
private org.jboss.deployers.structure.spi.DeploymentUnit jbossUnit;
public Ejb3JBoss5Deployment(DeploymentUnit ejb3Unit, Kernel kernel, MBeanServer mbeanServer, org.jboss.deployers.structure.spi.DeploymentUnit jbossUnit, DeploymentScope deploymentScope, JBossMetaData metaData, PersistenceUnitsMetaData persistenceUnitsMetaData)
@@ -51,7 +54,13 @@
this.jbossUnit = jbossUnit;
kernelAbstraction = new JBossASKernel(kernel);
- // todo maybe mbeanServer should be injected?
+ // inject mbean server
+ if (log.isTraceEnabled())
+ {
+ log.trace("Inject mbean server in kernel abstraction.");
+ }
+ kernelAbstraction.setMbeanServer(mbeanServer);
+
this.mbeanServer = mbeanServer;
}
Index: /home/galder/jboss/code/as/trunk.ejbthree-1015/ejb3/src/main/org/jboss/ejb3/deployers/JBossASKernel.java
===================================================================
--- /home/galder/jboss/code/as/trunk.ejbthree-1015/ejb3/src/main/org/jboss/ejb3/deployers/JBossASKernel.java (revision 72518)
+++ /home/galder/jboss/code/as/trunk.ejbthree-1015/ejb3/src/main/org/jboss/ejb3/deployers/JBossASKernel.java (working copy)
@@ -34,7 +34,6 @@
import javax.management.MBeanServer;
import javax.management.ObjectName;
import javax.management.ReflectionException;
-import javax.management.RuntimeMBeanException;
import org.jboss.beans.metadata.plugins.AbstractBeanMetaData;
import org.jboss.beans.metadata.plugins.AbstractConstructorMetaData;
@@ -40,7 +39,6 @@
import org.jboss.beans.metadata.plugins.AbstractConstructorMetaData;
import org.jboss.beans.metadata.plugins.AbstractDemandMetaData;
import org.jboss.beans.metadata.plugins.AbstractValueMetaData;
-import org.jboss.beans.metadata.spi.BeanMetaData;
import org.jboss.beans.metadata.spi.BeanMetaDataFactory;
import org.jboss.beans.metadata.spi.DemandMetaData;
import org.jboss.beans.metadata.spi.SupplyMetaData;
@@ -59,6 +57,7 @@
* The JBossAS implementation of the ejb3 KernelAbstraction integration api
* @author <a href="mailto:bill@jboss.org">Bill Burke</a>
* @author Scott.Stark(a)jboss.org
+ * @author <a href="mailto:galder.zamarreno@jboss.com">Galder Zamarreno</a>
* @version $Revision:$
*/
public class JBossASKernel
@@ -137,7 +136,6 @@
try
{
mbeanServer.registerMBean(service, on);
- install(on.getCanonicalName(), dependencies, null, service);
// EJBTHREE-606: emulate the ServiceController calls
MBeanInfo info = mbeanServer.getMBeanInfo(on); // redundant call for speed
[View Less]
16 years, 11 months
M2 Alternative - Gradle
by Andrew Lee Rubinger
Caught this on TSS today - has anyone seen/used?
http://www.gradle.org/
Claims to integrate with existing Maven repos, use Ivy for dependency
management, and scripting (by convention via Groovy) for programmatic
support.
Currently I don't like Ivy because it necessitates Ant build Scripts,
and don't like Maven because it's too tricky to get together a
reproducible build (unique snapshot numbers, ranges, and better
dependency resolution would solve most of this).
S,
ALR
16 years, 11 months
pom.xml housekeeping
by Dimitris Andreadis
My obligatory pastime those days is to reduce the entropy of the jboss universe by messing
up with people's poms.
I just spotted that the various ejb3 subprojects used different snapshots of their own
ejb3-parent pom! Some used 0.13-1-SNAPSHOT, others 0.13-3-SNAPSHOT, so I moved them to the
latest.
Sure maven sucks, but can you also do your own housekeeping, please?
/D
16 years, 11 months
[Fwd: Build failed in Hudson: JBoss-AS-5.0.x-TestSuite-sun15 #537]
by Brian Stansberry
Seems tonight was my turn to have some maven misadventures and break the
build.
If you find your local build is broken with the problem shown below,
remove the org/jboss/cluster folder from your local maven repo.
Sorry for any hassle.
- Brian
-------- Original Message --------
Subject: Build failed in Hudson: JBoss-AS-5.0.x-TestSuite-sun15 #537
Date: Wed, 23 Apr 2008 01:28:29 -0400 (EDT)
From: jboss-qa-internal(a)redhat.com
To: builds(a)lists.jboss.org
See
https://hudson.jboss.org/…
[View More]hudson/job/JBoss-AS-5.0.x-TestSuite-sun15/537/ch...
Changes:
[ALRubinger] [EJBTHREE-1309] Update dependency to renamed EJB3 Client
JAR in AS
[anil.saldhana(a)jboss.com] fix resources packing for deepcopy subject test
[anil.saldhana(a)jboss.com] package resources in a jar to be placed in
ear/lib allowed by JavaEE 5
[ALRubinger] [EJBTHREE-1311] Removed jboss-ejb3-core.jar and
jboss-ejb3-ext-api-impl from inclusion in $JBOSS_HOME/client
[bstansberry(a)jboss.com] Keep tracing paths through SoftReferences
------------------------------------------
[...truncated 15751 lines...]
AU jbossmq/src/main/org/jboss/mq/il/jvm/JVMClientILService.java
AU jbossmq/src/main/org/jboss/mq/il/jvm/JVMServerIL.java
AU jbossmq/src/main/org/jboss/mq/il/jvm/JVMServerILService.java
AU jbossmq/src/main/org/jboss/mq/il/jvm/JVMServerILServiceMBean.java
AU jbossmq/src/main/org/jboss/mq/il/Invoker.java
AU jbossmq/src/main/org/jboss/mq/il/ServerILJMXServiceMBean.java
AU jbossmq/src/main/org/jboss/mq/SpyTextMessage.java
AU jbossmq/src/main/org/jboss/mq/SpyConsumer.java
A jbossmq/src/main/org/jboss/mq/security
AU jbossmq/src/main/org/jboss/mq/security/SecurityManager.java
AU jbossmq/src/main/org/jboss/mq/security/SecurityManagerMBean.java
AU jbossmq/src/main/org/jboss/mq/security/SessionIDGenerator.java
AU jbossmq/src/main/org/jboss/mq/security/SecurityMetadata.java
AU
jbossmq/src/main/org/jboss/mq/security/ServerSecurityInterceptor.java
AU jbossmq/src/main/org/jboss/mq/Recoverable.java
AU jbossmq/src/main/org/jboss/mq/ReceiveRequest.java
AU jbossmq/src/main/org/jboss/mq/SpyConnection.java
AU jbossmq/src/main/org/jboss/mq/SpyStreamMessage.java
AU jbossmq/src/main/org/jboss/mq/SpyMessageConsumer.java
AU jbossmq/src/main/org/jboss/mq/SpyConnectionMetaData.java
AU jbossmq/src/main/org/jboss/mq/SpyTopicSubscriber.java
AU jbossmq/src/main/org/jboss/mq/TransactionRequest.java
A jbossmq/src/resources
AU jbossmq/src/resources/log4j.properties
A jbossmq/src/etc
AU jbossmq/src/etc/default.mf
A jbossmq/src/etc/server
A jbossmq/src/etc/server/default
A jbossmq/src/etc/server/default/deploy
AU
jbossmq/src/etc/server/default/deploy/hsqldb-jdbc-state-service.xml
AU jbossmq/src/etc/server/default/deploy/uil2-service.xml
AU jbossmq/src/etc/server/default/deploy/jbossmq-service.xml
AU jbossmq/src/etc/server/default/deploy/jvm-il-service.xml
AU jbossmq/src/etc/server/default/deploy/hsqldb-jdbc2-service.xml
AU
jbossmq/src/etc/server/default/deploy/jbossmq-destinations-service.xml
A jbossmq/src/etc/server/legacy
A jbossmq/src/etc/server/legacy/conf
AU jbossmq/src/etc/server/legacy/conf/jbossmq-oldstate.xml
A jbossmq/src/etc/server/examples
A jbossmq/src/etc/server/examples/deploy
AU jbossmq/src/etc/server/examples/deploy/derby-jdbc2-service.xml
AU jbossmq/src/etc/server/examples/deploy/mysql-jdbc2-service.xml
AU jbossmq/src/etc/server/examples/deploy/oracle-jdbc2-service.xml
A jbossmq/src/etc/server/examples/deploy/conf
AU jbossmq/src/etc/server/examples/deploy/conf/jbossmq-state.xml
AU jbossmq/src/etc/server/examples/deploy/postgres-jdbc2-service.xml
AU jbossmq/src/etc/server/examples/deploy/sybase-jdbc2-service.xml
AU jbossmq/src/etc/server/examples/deploy/as400-jdbc2-service.xml
AU jbossmq/src/etc/server/examples/deploy/rmi-il-service.xml
AU jbossmq/src/etc/server/examples/deploy/uil-service.xml
AU jbossmq/src/etc/server/examples/deploy/ssl-uil2-service.xml
A jbossmq/src/etc/server/examples/deploy/standalone
AU
jbossmq/src/etc/server/examples/deploy/standalone/jboss-service.xml
AU jbossmq/src/etc/server/examples/deploy/standalone/build.xml
AU
jbossmq/src/etc/server/examples/deploy/null-persistence-service.xml
AU jbossmq/src/etc/server/examples/deploy/file-state-service.xml
AU jbossmq/src/etc/server/examples/deploy/mssql-jdbc2-service.xml
A jbossmq/src/etc/.Refactory
AU jbossmq/src/etc/.Refactory/pretty.settings
AU jbossmq/build.sh
A jbossmq/pom.xml
AU jbossmq/.cvsignore
AU jbossmq/build.xml
U
At revision 72600
no change for
http://anonsvn.jboss.org/repos/qa/hudson/trunk/scripts/common since the
previous build
Launching killing script.
[JBoss-AS-5.0.x-TestSuite-sun15] $ bash
/home/hudson/hudson_workspace/plugins/process-kill/WEB-INF/classes/hudson/plugins/process_kill/kill-script.sh
[JBoss-AS-5.0.x-TestSuite-sun15] $ bash -xe /tmp/hudson29004.sh
+ . /home/hudson/config_repository/scripts/common/common_bash.sh
++ basedir=/home/hudson/config_repository
++
common_variables=/home/hudson/config_repository/resources/common.variables
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/chprop
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/copy-eap-results
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/get-soa
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/kill-children
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/kill-derby
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/kill-glassfish
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/kill-jboss
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/kill-pointbase
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/kill-rmiiiop-server
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/kill-sunri
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/load_all_vars
+++ . /home/hudson/config_repository/resources/common.variables
++++ JAVA14=/qa/tools/opt/j2sdk1.4.2_15
++++ JAVA15=/qa/tools/opt/jdk1.5.0_15
++++ JAVA16=/qa/tools/opt/jdk1.6.0_03
++++ ANT162=/qa/tools/opt/apache-ant-1.6.2
++++ ANT165=/qa/tools/opt/apache-ant-1.6.5
++++ ANT165_jbpm=/home/hudson/static_build_env/jbpm/apache-ant-1.6.5
++++
ANT165_jbpm_soa=/home/hudson/static_build_env/jbpm.3_soa/apache-ant-1.6.5
++++ ANT170=/qa/tools/opt/apache-ant-1.7.0
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/runtck
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/setant
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/setjava
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/setmaven2
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/stacktrace
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/start-jboss
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/stop-jboss
++ for function in '$basedir/scripts/function.d/*'
++ . /home/hudson/config_repository/scripts/function.d/versions
+ setant 165
+ '[' 165 ']'
+ local 'command=.
/home/hudson/config_repository/resources/common.variables && echo $ANT165'
++ eval . /home/hudson/config_repository/resources/common.variables '&&'
echo '$ANT165'
+++ . /home/hudson/config_repository/resources/common.variables
++++ JAVA14=/qa/tools/opt/j2sdk1.4.2_15
++++ JAVA15=/qa/tools/opt/jdk1.5.0_15
++++ JAVA16=/qa/tools/opt/jdk1.6.0_03
++++ ANT162=/qa/tools/opt/apache-ant-1.6.2
++++ ANT165=/qa/tools/opt/apache-ant-1.6.5
++++ ANT165_jbpm=/home/hudson/static_build_env/jbpm/apache-ant-1.6.5
++++
ANT165_jbpm_soa=/home/hudson/static_build_env/jbpm.3_soa/apache-ant-1.6.5
++++ ANT170=/qa/tools/opt/apache-ant-1.7.0
+++ echo /qa/tools/opt/apache-ant-1.6.5
+ local antpath=/qa/tools/opt/apache-ant-1.6.5
+ '[' -d /qa/tools/opt/apache-ant-1.6.5/bin ']'
+ export ANT_HOME=/qa/tools/opt/apache-ant-1.6.5
+ ANT_HOME=/qa/tools/opt/apache-ant-1.6.5
+ export
PATH=/qa/tools/opt/apache-ant-1.6.5/bin:/qa/tools/opt/jdk1.5.0_15/bin:/qa/tools/opt/apache-ant-1.6.5/bin:/qa/tools/opt/maven-2.0.8/bin:/qa/tools/opt/jdk1.5.0_15/bin:/usr/xpg4/bin:/usr/kerberos/bin:/usr/xpg4/bin:/usr/local/bin:/bin:/usr/bin:/opt/maven/bin:/opt/subversion/bin:/opt/maven/bin:/opt/subversion/bin:/home/hudson/bin
+
PATH=/qa/tools/opt/apache-ant-1.6.5/bin:/qa/tools/opt/jdk1.5.0_15/bin:/qa/tools/opt/apache-ant-1.6.5/bin:/qa/tools/opt/maven-2.0.8/bin:/qa/tools/opt/jdk1.5.0_15/bin:/usr/xpg4/bin:/usr/kerberos/bin:/usr/xpg4/bin:/usr/local/bin:/bin:/usr/bin:/opt/maven/bin:/opt/subversion/bin:/opt/maven/bin:/opt/subversion/bin:/home/hudson/bin
+ kill-jboss
++ uname -s
+ [[ Linux == \L\i\n\u\x ]]
+ ps -eaf --columns 2200
+ grep run.jar
+ grep -v grep
+ xargs kill
+ awk '{ print $2; }'
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ sleep 10
+ ps -eaf --columns 2200
+ grep run.jar
+ grep -v grep
+ awk '{ print $2; }'
+ xargs kill -9
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ return 0
+ cd trunk/build
+ ./build.sh
Searching for build.xml ...
Buildfile:
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x-TestSuite-sun15/trunk/build/build.xml
check.inhibit.downloads:
check.proxy:
set.proxy.withoutauth:
set.proxy.auth:
set.proxy:
createthirdparty:
[java] [INFO] Scanning for projects...
[java] WAGON_VERSION: 1.0-beta-2
[java] [INFO]
------------------------------------------------------------------------
[java] [INFO] Building JBoss Application Server Thirdparty Build
[java] [INFO] task-segment: [package]
[java] [INFO]
------------------------------------------------------------------------
[java] Downloading:
http://snapshots.jboss.org/maven2/org/jboss/cluster/jboss-cluster/1.1.0-2...
[java] Downloading:
http://repository.jboss.org/maven2/org/jboss/cluster/jboss-cluster/1.1.0-...
[java] Downloading:
http://repo1.maven.org/maven2/org/jboss/cluster/jboss-cluster/1.1.0-20080...
[java] [INFO]
------------------------------------------------------------------------
[java] [ERROR] BUILD ERROR
[java] [INFO]
------------------------------------------------------------------------
[java] [INFO] Failed to resolve artifact.
[java] GroupId: org.jboss.cluster
[java] ArtifactId: jboss-cluster
[java] Version: 1.1.0-20080422
[java] Reason: Unable to download the artifact from any repository
[java] org.jboss.cluster:jboss-cluster:pom:1.1.0-20080422
[java] from the specified remote repositories:
[java] central (http://repo1.maven.org/maven2),
[java] repository.jboss.org (http://repository.jboss.org/maven2),
[java] snapshots.jboss.org (http://snapshots.jboss.org/maven2)
[java] [INFO]
------------------------------------------------------------------------
[java] [INFO] For more information, run Maven with the -e switch
[java] [INFO]
------------------------------------------------------------------------
[java] [INFO] Total time: 13 seconds
[java] [INFO] Finished at: Wed Apr 23 00:52:46 EDT 2008
[java] [INFO] Final Memory: 16M/81M
[java] [INFO]
------------------------------------------------------------------------
[java] Java Result: 1
_buildmagic:init:
Trying to override old definition of task property
_buildmagic:init:local-properties:
[copy] Copying 1 file to
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x-TestSuite-sun15/trunk/build
_buildmagic:init:buildlog:
configure:
[echo] groups: default
[echo] modules:
main,bootstrap,j2se,mbeans,jmx,system,system-jmx,security,server,deployment,jbossas/remoting,jmx-remoting,jbossas/jmx-remoting,messaging,jbossmq,cluster,varia,iiop,aspects,profileservice,connector,management,ejb3,tomcat,webservices,hibernate-int,console,spring-int
init:
_buildmagic:modules:most:
======================================================================
== Executing 'most' in module 'main'...
==
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x-TestSuite-sun15/trunk/thirdparty/libraries.ent
could not be found
BUILD FAILED
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x-TestSuite-sun15/trunk/tools/etc/buildmagic/buildmagic.ent:1029:
java.io.FileNotFoundException:
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x-TestSuite-sun15/trunk/thirdparty/libraries.ent
(No such file or directory)
Total time: 16 seconds
[JBoss-AS-5.0.x-TestSuite-sun15] $ bash -xe /tmp/hudson29005.sh
+ kill 4423
ERROR: No artifacts found that match the file pattern
"trunk/build/output/**/*.log,trunk/build/output/jboss-5.0.x.zip".
Configuration error?
ERROR: 'trunk/build/output/**/*.log' doesn't match anything, but
'**/*.log' does. Perhaps that's what you mean?
Recording test results
Build was marked for publishing on https://hudson.jboss.org/hudson/
Calculating disk usage for workspace directory... done.
Calculating disk usage for builds ... done.
47
finished: FAILURE
_______________________________________________
builds mailing list
builds(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/builds
--
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry(a)redhat.com
[View Less]
16 years, 11 months
integration module
by Dimitris Andreadis
I've made a change in the integration shared pom.xml to use the latest non-snapshot javaee
artifacts (bottom of message).
Some questions:
- Heiko, is the ejb3/ws spi going to live in the integration module?
- Jesper since you are working on the JCA spi, when done, can you take ownership of
http://jira.jboss.com/jira/browse/JBAS-5288 - Upgrade jboss-integration to 5.0.0.CR1
- Do we rev-up all spis when making a new integration project release? (I assume yes)
- We probably need a JIRA …
[View More]project to track this.
- Who should be the owner of it? Or should we have owners for the individual spis
- If AS uses the aggregate org.jboss:jboss-integration, why it needs to import
org.jboss:jboss-classloading-spi
org.jboss:jboss-corba-ots-spi
org.jboss:jboss-transaction-spi
and not
org.jboss:jboss-deployment-spi
org.jboss:jboss-jca-spi
In general, I find the maven notion of aggregation weak as it doesn't seem to establish the
association between the aggregate and the artifacts it contains (i.e. that
org.jboss:jboss-integration:jar contains/replaces the other 5 artifacts at specific versions)
---
Modified: projects/integration/trunk/build/pom.xml
===================================================================
--- projects/integration/trunk/build/pom.xml 2008-04-22 12:06:25 UTC (rev 72567)
+++ projects/integration/trunk/build/pom.xml 2008-04-22 12:27:36 UTC (rev 72568)
@@ -90,12 +90,12 @@
<dependency>
<groupId>org.jboss.javaee</groupId>
<artifactId>jboss-jca-api</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.5.0.CR1</version>
</dependency>
<dependency>
<groupId>org.jboss.javaee</groupId>
<artifactId>jboss-transaction-api</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1.CR1</version>
</dependency>
[View Less]
16 years, 11 months
jboss-javaee.jar
by Dimitris Andreadis
This has been partially discussed on the forums, but I want to get some wider consensus on
how to proceed, especially from the various jboss projects that consume/implement javax APIs:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139711#4139711
AFAIK, jboss-javaee.jar is supposed to serve as the authoritative javaEE API supported and
implemented by AS (JavaEE5 in our case). The .jar itself is made up by the individual
sub-apis listed here (e.g. jms, jacc, etc):
https://…
[View More]svn.jboss.org/repos/jbossas/projects/javaee/
However the way we have structured this is not consumable by individual projects (like WS or
Hibernate). We tag the whole thing, like 5.0.0.Beta3 or 5.0.0.Beta3Update1, while a project
may want to use/implement specifically, e.g. JMS 1.1
I think what we need is for the individual sub-apis to be independently versioned and
tagged. So the JMS API whould have versions 1.0, 1.1 and so on. The jboss project can then
use specific apis at arbitrary versions, without having duplicates in their own projects.
Then a higher level javaee project can import the set of APIs required to create the
aggregate JavaEE5 (or JavaEE6 and so on) apis.
A single JIRA project could be used to track all those updates.
One issue to consider is whether the aggregate jar will include the classes of the apis (in
which case you only need to ship the aggregate jar), or reference the external libraries in
its MANIFEST.MF.
The other issue is when compiling AS and importing the aggregate jboss-javaee.jar, make sure
that sub-api libraries that can be imported as transitive dependencies agree with the
versions chosen at the aggregate level, and if not flag that as an error.
I understand that the only way to do this is by using maven ranges ([ ]) on jboss-javaee.jar.
Any input on this is appreciated.
/D
[View Less]
16 years, 11 months
Broken builds
by Adrian Brock
Well done guys.
We've had *five* broken builds this week,
two of them today (or so I'm told because I've not resynched
after fixing the vfs issue from this morning).
With the exception of Scott forgetting to commit
his new resolver deployer most of these have been
due to broken uses of version control.
i.e. broken snapshots or what was equivalent
Clebert's retagging of a jboss messaging release
With no proper version control we can't even rollback
the broken builds :-(
--
…
[View More]xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[View Less]
16 years, 11 months