[fusion-users] How to upgrade Jx version in Fusion

kde kdelcroix at celsius-tech.com
Wed Dec 10 09:47:30 EST 2008


Ok.

Thanks a lot Paul for your answer!

I will try still somes hours to solve my Jx problem which actuates me to try
to change the Jx version.
(I already lost 2 days on my Jx problem (not the Jx version)).
If I can't resolve it, I will get the last SVN version of Fusion.



Paul Spencer-2 wrote:
> 
> You can't update Jx independently for an existing version of Fusion  
> for this release ... the Jx API has changed and the development (soon  
> to be 2.0) version of Fusion has been altered to accommodate the  
> changes.  Existing Fusion versions will not work with the new Jx.
> 
> We are getting very close to finishing up the major changes we needed  
> to make for version 2.0 and will be releasing a beta version "real  
> soon now".
> 
> If you are brave, you can follow the instructions in the wiki for  
> getting the SVN version of Fusion from trunk and get the new MapGuide  
> templates from the MapGuide SVN.  If not, then please wait a week or  
> two and we will ship a beta for MapGuide that includes everything you  
> need.
> 
> Cheers
> 
> Paul
> 
> On 10-Dec-08, at 7:24 AM, kde wrote:
> 
>>
>> Hi all,
>>
>> I followed the  http://trac.osgeo.org/fusion/ticket/115 ticket about  
>> the
>> "Update to new Js"  but I have the error Jx.aPixel is undefined.
>>
>> After having downloaded the Here what I did:
>> 1 - renamed "jx" folder to "old_jx"
>> 2 - copied all .JS files and the a_pixel.png file into /fusion/lib
>> 3 - copied the a_pixel.png file into /fusion/lib
>> 4 - copied the "themes" folder into /fusion/templates
>> 5 - modified the fusion.jx file (*) like this :
>>
>> -----------------------------------------------------------------------------------------
>> 	...
>> 	//at line 42:
>> 	if (Fusion.useCompressed) {
>> 	Fusion.coreScripts = ['lib/OpenLayers/OpenLayersCompressed.js',
>> 						'lib/jxlib.js', // <== MODIFIED
>> 						'lib/fusion-compressed.js',
>> 						'lib/excanvas/excanvas-compressed.js'];
>> 	} else {
>> 	Fusion.coreScripts = ['lib/OpenLayers/OpenLayers.js',
>> 						'lib/jxlib.uncompressed.js', // <== MODIFIED
>> 						'lib/excanvas/excanvas-compressed.js',
>> 						'lib/utils.js',
>> 						'lib/Error.js',
>> 						'lib/ApplicationDefinition.js',
>> 						'lib/MGBroker.js',
>> 						'lib/Widget.js',
>> 						'lib/ButtonBase.js',
>> 						'lib/MenuBase.js',
>> 						'lib/ButtonTool.js',
>> 						'lib/CanvasTool.js',
>> 						'lib/ClickTool.js',
>> 						'lib/RectTool.js',
>> 						'lib/Map.js',
>> 						'lib/Search.js',
>> 						'text/en/strings.json'];
>> 	}
>> 	...
>> 	
>> 	//at line 93:
>> 	Jx.baseURL = gszFusionURL + 'lib/'; // <== 'jx/' changed to 'lib/'
>> 	...
>> 	
>>
>> -----------------------------------------------------------------------------------------
>>
>> I tried to :
>> - copy the "themes" content into /fusion/templates (instead of 4)
>> - copy the a_pixel.png into every "images" directories I found  
>> (instead of
>> 3)
>>
>> Somebody has an idea of what I did wrong?
>>
>> Thanks in advance for your help.
>>
>> PS: My OSMG version is 2.0.2.3011.
>> (*)  Version of my fusion.js file: $Id: fusion.js 1396 2008-05-08  
>> 15:34:30Z
>> madair $
>>
>> -- 
>> View this message in context:
>> http://n2.nabble.com/How-to-upgrade-Jx-version-in-Fusion-tp1638540p1638540.html
>> Sent from the Fusion Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> fusion-users mailing list
>> fusion-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/fusion-users
> 
> 
> __________________________________________
> 
>     Paul Spencer
>     Chief Technology Officer
>     DM Solutions Group Inc
>     http://research.dmsolutions.ca/
> 
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/How-to-upgrade-Jx-version-in-Fusion-tp1638540p1639047.html
Sent from the Fusion Users mailing list archive at Nabble.com.



More information about the fusion-users mailing list