Hi Darius,

thanks for the fast reply.

Darius Jockel wrote:
> 
> That is strange. We are going to change our maven repository, so I
> deployed the last release to both, the new and the old repository. But you
> are right, there is no 1.5.0 in the old repository deployed.
> I wil correct this for the Hibernate Cartridge soon. Thank you very much.
> 

OK, I will check the repo again in some time.


Darius Jockel wrote:
> 
> 
> Daniel Kleine-Albers wrote:
>> 
>> [...]
>> 10370 INFO  CompositeComponent -
>> XtendComponent(hibernateCartridge_transformations): executing
>> 'org::fornax::cartridges::uml2::hibernate::extensions::ModelTransformation'
>> 10797 ERROR WorkflowRunner     - no viable alternative at input '/' on
>> line 1 
>> [...]
>> I've found that this could be related to character encoding. So I've
>> already tried changing the file.encoding property between ISO-8859-1 and
>> UTF-8 back and forth but there is absolutely no difference and I'm not
>> using any custom oaw extensions or templates at this stage.
>> 
>> Any ideas?
>> 
> Yes it seems that the caracter encoding is set wrong. 
> How are you running the workflow (In Eclipse -> Run as oAW Workflow, or by
> Maven)?
> If you run the workflow by Eclipse you maybe must set the character
> encoding in the Eclipse project properties.
> 

I'm running the workflow from maven (using the fornax-oaw-m2-plugin 2.0.0).
But I've also just tried to run it from eclipse (with UTF-8 as well as
ISO-8859-1 set as encodings for the project). Interestingly the error
message is not the same (compared to running from within maven) but quite
similar:

5180 INFO  CompositeComponent -
XtendComponent(hibernateCartridge_transformations): executing
'org::fornax::cartridges::uml2::hibernate::extensions::ModelTransformation'
5365 ERROR WorkflowRunner     - no viable alternative at input '.' on line 1
org.openarchitectureware.xtend.parser.ParseException: no viable alternative
at input '.' on line 1

I'll continue to try and let you as soon as I find some sort of solution.

Kind regards
Daniel
-- 
View this message in context: 
http://www.nabble.com/Hibernate-Cartridge%3A-no-viable-alternative-at-input-%27-%27-on-line-1-tp16892094s17564p16894581.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to