You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Endre Stølsvik (JIRA)" <ji...@apache.org> on 2006/10/30 19:06:03 UTC

[jira] Commented: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"

    [ https://issues.apache.org/activemq/browse/AMQ-1016?page=comments#action_37314 ] 
            
Endre Stølsvik commented on AMQ-1016:
-------------------------------------

$.01 :

Find one thing that stands out:
{noformat} 
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://www.springframework.org/schema/beans"
	xmlns:aop="http://www.springframework.org/schema/aop"
	xmlns:tx="http://www.springframework.org/schema/tx"
	xmlns:amq="http://activemq.org/config/1.0"
	xsi:schemaLocation="
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
    http://www.springframework.org/schema/aop   http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
    http://www.springframework.org/schema/tx    http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
    http://activemq.org/config/1.0              http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd">
{noformat} 

and btw, the "http://activemq.org/config/1.0" doesn't exist (404), and I don't quite get the "1.0" either. Why not do as spring itself does, like "http://apache.org/schema/amq" and have a file "activemq-amq-4.x.xsd" or somehting there?

> 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-1016
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1016
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1
>         Environment: n/a
>            Reporter: Endre Stølsvik
>            Priority: Minor
>
> Referring to the 4.1 RC1 posted by Hiram Chirino  Oct 06, here:
>   http://www.nabble.com/ActiveMQ-4.1-RC-1-tf2397970.html#a6686974
> The META-INF file spring.schemas have the single line.
> "http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd"
> Notice "file:/" and "Users/chirino". Referring to org.springframework.beans.factory.xml.PluggableSchemaResolver's javadoc: "schema-location should also be a schema file in the classpath", and that no-one can tell what structure I will have on my fs, this must be wrong. In addition, I most probably won't have a user name "chirino".
> PS: In addition, the doc at
>   http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html
> refers as such:
> xmlns:amq="http://activemq.org/config/1.0"
>  .. and ..
> xsi:schemaLocation="http://activemq.org/config/1.0 http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd"
> Wouldn't it be nice if this was put at a better place than such a snapshot-build URI? It could be put where it will reside when 4.1 actually is out, w/o anyone being to angry about changes during the finalization period, I personally believe.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira