hibernate 3.6 build failed for hibernate-distribution project when development environment in windows

Description

unexpected char: '\' while running hibernate-distribution project whereever basedir used in gmaven script used. Because in windows environment \ but script is not accepting when the path \. So it has to be converted into unix-style before using project.basedir

Environment

Hibernate 3.6 Windows Environment

Activity

Show:
Thamayanthi Karuppusamy
July 6, 2011, 1:03 PM

I have taken hibernate 3.6 for development using windows environment, when i run clean build, it will fail while execution of script in hibernate distribution as \ in windows. I have fixed the problem and need to release this in patch. So i created this issue. Need to know(steps) how to release as patch?

Strong Liu
July 6, 2011, 1:11 PM

if then, i would suggest you just run "mvn clean install -DdisableDistribution=true", this will not active "hibernate-documentation" nor "hibernate-distribution" modules, and these two do not affect development (actually they're only useful when release hibernate)
and even we fix this issue, you will run into another environment issue

since, hibernate-documentation use jdocbook plugin to generate documents from docbook and also doing translation, but unforutunally, this translation task depends on some linux tool which are not available on windows

Thamayanthi Karuppusamy
July 7, 2011, 12:13 AM

How you are saying? Because unix-style format is supported.Just I tried to fix so that I can start working issues.

Will it be problem if patch the fix?

Strong Liu
July 7, 2011, 4:46 AM

well, what i was saying is even we fix this path separator issue (btw, thanks for reporting this), you will hit another issue when generating documents
and, as i said, this issue does not stop you start working issues (not hibernate release issue, but hibernate functional issue) by adding this property -DdisableDistribution=true

the only problem to patch this fix is we don't have a windows environment...

Strong Liu
July 7, 2011, 5:01 AM

btw, do you have a patch for this issue?

Assignee

Unassigned

Reporter

Thamayanthi Karuppusamy

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure