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

Reply via email to