[ 
https://issues.apache.org/activemq/browse/AMQ-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39385
 ] 

Endre Stølsvik commented on AMQ-1016:
-------------------------------------

Those URLs looks REALLY pathetic. Seriously, are you proposing that you put a 
"final and stable release" of a configuration schema at an address that starts 
with "people.apache.org"?? And which is that extremely long-winded, with lots 
utterly schema-unrelated data?

Why can't you come up with something along the lines of 
"http://schemas.apache.org/activemq/amctivemq-5.0.xsd";, at the MOST? Something 
that looks like you've at least put one cent into doing this the right way? 
Look at ANY OTHER schema definition on the entire internet, and you'll find 
that yours are .. non-good.

You folks apparently desperately wants the distribution of this file to be so 
automated and nice and cool. That is a very flawed logic. The URL you now 
propose is no better than the one that this whole shit started off with, and 
with later releases, you'll fsck this up again, and installations around the 
world will start to bomb out.

And finally, you do realize that this element is this bug's "secondary aspect" 
- the first is that there really RUNTIME-wise shouldn't be need for such a 
proper and stable URL at all (obviously), since Spring (with xbeans) have this 
feature where it will look it up in the classpath, using the 
META-INF/spring.schemas system (so that my offline application using your 
system will be able to boot without being hooked up to the internet).

Simply read the bug, starting with the initial description, then going through 
the dozen or so comments above, and you'll be informed.

How you are able to close this bug with that comment is actually frightening.

> 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.0
>         Environment: n/a
>            Reporter: Endre Stølsvik
>            Assignee: Adrian Co
>            Priority: Minor
>             Fix For: 5.0.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to