Dear Michael and Peppe Problem solved (!!)) I have found that the problem was with the fact that my recently produced jar file did not contain the xx.java2xml xml files that are necessary to convert the vertex specifications into an xml (textual) format for the project file, so the xml formats were missing. The previously published version of the plugin was correct. I can not get on to working on Peppe's request for an update.
thanks Geoff On 31/12/2010 8:04 PM, Michaël Michaud wrote: > Hi Geoff, > > I still can't reproduce the problem. Instead, I also get the following > xml element when I save my layer with the most recent version of > OpenJUMP (1.4.1alpha from daily build) and your most recent vertex > plugin taken from your site : > > <style class="com.cadplan.jump.ExternalSymbolsImplType" enabled="true" > size="16" numSides="4" orientation="0.0" showLine="true" showFill="true" > dotted="false" attributeName="" byValue="true" symbolName="@star6" > symbolType="1" textEnabled="false" textAttributeName="$FID" > textFontName="SansSerif" textFontSize="10" textFontStyle="0" > textFontJustification="0" textPosition="0" textOffset="1" > textOffsetValue="0" textScope="1" textBackgroundColor="255, 255, 255, > 255" textForegroundColor="0, 0, 0, 255" textFill="false" textBorder="0" /> > > Other important ressources available in my installation (windows + java > 1.6) are : > jdom-1.0b8.jar + > xercesImpl-2.8.1.jar + > xml-apis-1.3.03.jar + > xmlParserAPIs-2.0.2.jar in the lib directory > > iText-2.1.7.jar > JumpChart.jar > JumpFillPattern.jar > JumpPrinter.jar > VertexSymbols.jar in lib/ext directory > > FillPatterns directory > VertexImages directory > VertexSymbols directory in the lib/ext directory > > Can you give more details on how to reproduce the problem : exact > openjump version taken from the web site and list of added jars and > directories. > > Michaël > > Le 24/12/2010 02:47, Geoffrey Roy a écrit : >> Dear All >> >> I am quite sure that the problem with the VertexSymbols plugin relates >> to the version of OpenJump. I can generate the problem using the same >> plugin file, same JVM, just with a different OpenJump version. >> >> When vertex symbols are attached to a layer and the project file is >> saved the style entry for the layer in the project file looks (or >> should) like this (in vers 1.2 of OJ): >> >> <style class="com.cadplan.jump.ExternalSymbolsImplType" enabled="true" >> size="16" numSides="4" orientation="0.0" showLine="true" showFill="true" >> dotted="false" attributeName="" byValue="true" symbolName="@star6" >> symbolType="1" textEnabled="false" textAttributeName="$FID" >> textFontName="SansSerif" textFontSize="10" textFontStyle="0" >> textFontJustification="0" textPosition="0" textOffset="1" >> textOffsetValue="0" textScope="1" textBackgroundColor="255, 255, 255, >> 255" textForegroundColor="0, 0, 0, 255" textFill="false" textBorder="0" /> >> >> That is, it contains all the required parameters to define the symbol >> style. I presume the XML is generated by >> com.vividsolutions.jump.util.java2xml.Java2XML. >> >> In vers 1.4 of OJ we actually get the following: >> >> <style class="com.cadplan.jump.ExternalSymbolsImplType" enabled="true" /> >> >> The details are missing. This seems to indicate that my new Vertex >> style is not correctly registered for the XML conversion. >> >> Ant thoughts? >> >> Geoff >> > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1191 / Virus Database: 1435/3349 - Release Date: 12/30/10 > > > -- Dr Geoffrey G Roy Cadplan 129 Gloster Street, Subiaco WA 6008 Tel: (08) 9381 4870 Fax: (08) 9382 4459 Email: ge...@cadplan.com.au http://www.cadplan.com.au ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel