Revision: 497
http://sword-app.svn.sourceforge.net/sword-app/?rev=497&view=rev
Author: richard-jones
Date: 2012-04-20 10:41:40 +0000 (Fri, 20 Apr 2012)
Log Message:
-----------
modify identity of artefact for ongoing use, and fix bug with multipart-related support in service documents
Modified Paths:
--------------
JavaServer2.0/trunk/pom.xml
JavaServer2.0/trunk/src/main/java/org/swordapp/server/SwordCollection.java
Modified: JavaServer2.0/trunk/pom.xml
===================================================================
--- JavaServer2.0/trunk/pom.xml 2012-03-27 12:43:38 UTC (rev 496)
+++ JavaServer2.0/trunk/pom.xml 2012-04-20 10:41:40 UTC (rev 497)
@@ -3,8 +3,8 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.swordapp</groupId>
- <artifactId>server</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <artifactId>sword2-server</artifactId>
+ <version>1.0</version>
<packaging>war</packaging>
<!-- brings the sonatype snapshot repository and signing requirement on board -->
Modified: JavaServer2.0/trunk/src/main/java/org/swordapp/server/SwordCollection.java
===================================================================
--- JavaServer2.0/trunk/src/main/java/org/swordapp/server/SwordCollection.java 2012-03-27 12:43:38 UTC (rev 496)
+++ JavaServer2.0/trunk/src/main/java/org/swordapp/server/SwordCollection.java 2012-04-20 10:41:40 UTC (rev 497)
@@ -56,7 +56,7 @@
for (String mpa : this.multipartAccept)
{
Element element = this.abdera.getFactory().newElement(UriRegistry.APP_ACCEPT);
- element.setAttributeValue("alternate", "multipart/related");
+ element.setAttributeValue("alternate", "multipart-related");
element.setText(mpa);
abderaCollection.addExtension(element);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|