Issue Details (XML | Word | Printable)

Key: GDS-658
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Franck Wolff
Reporter: Francesco Faraone
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
GraniteDS

Granite builder 2.1.0 shows error on eclipse 3.42 carbon / snow leopard

Created: 25/Mar/10 06:51 PM   Updated: 19/Aug/10 03:03 PM   Resolved: 19/Aug/10 03:03 PM
Component/s: Granite Eclipse Builder
Affects Version/s: 2.1.0_GA
Fix Version/s: None


 Description  « Hide
Hi Frank,

This issue was referenced in GDS-439. We tried it using the latest 2.1.0.GA build but the error still persists.

Regards,
Francesco

-----

HI,
I've installed the build 209 of the granite builder

http://www.graniteds.org/bamboo/download/GDS-BUILDER/artifacts/build-209/org.granite.builder.jar/org.granite.builder_2.0.0.GA.jar

but when I try to set the sources for generation I got this error:

Granite properties load failed:
com.thoughtworks.xstream.converters.ConversionException: No enum const class
org.granite.generator.as3.reflect.JavaType$Kind.REMOTEDESTINATION : No enum
const class org.granite.generator.as3.reflect.JavaType$Kind.REMOTEDESTINATION
---- Debugging information ---- message : No enum const class
org.granite.generator.as3.reflect.JavaType$Kind.REMOTEDESTINATION
cause-exception : java.lang.IllegalArgumentException cause-message :
No enum const class
org.granite.generator.as3.reflect.JavaType$Kind.REMOTEDESTINATION class
: org.granite.builder.properties.GraniteProperties required-type :
org.granite.builder.properties.Gas3Template path :
/graniteProperties/gas3/template[5] line number : 10
-------------------------------

I've tested this release with eclipse 3.4.2 J2EE 32bit carbon with Flex Builder 3.2 on snow leopard.

Regards
Francesco

Franck Wolff added a comment - 02/Jul/10 03:07 PM
The actual name of the enum is org.granite.generator.as3.reflect.JavaType$Kind.REMOTE_DESTINATION (not REMOTEDESTINATION).

Try to edit your .granite properties file and tell us if it works (but I don't know why the '_' character is missing in your file):

<template kind="REMOTE_DESTINATION" uris="..."/>