Hi Darius,
I found a solution for the problem. It is not related to encoding though ...
In my workflow.properties I had the following entry:
hibernate.properties.file=${basedir}/src/main/resources/oaw/hibernate.properties
If I run from the command line ${basedir} is something like
/Applications/Java/eclipse-workbench/... (so starting with the / character
that was moaned about). So I can also explain why running from eclipse it
moans about a . character (it looks like it expands ${basedir} relatively to
./something).
This was causing the problem. It worked fine after changing it to:
hibernate.properties.file='oaw/hibernate.properties'
Note that the problem actually are the ' ' characters, not the path itself.
If I don't add them, I get the same error as before just complaining about
"oaw". I think this should be documented somewhere as this is the only
property you have to include in quotation marks. All others (like
outlet.res.dir for example) work fine without quotation marks.
Cheers,
Daniel
--
View this message in context:
http://www.nabble.com/Hibernate-Cartridge%3A-no-viable-alternative-at-input-%27-%27-on-line-1-tp16892094s17564p16896581.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