You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was running the pomgen script in cygwin, and it failed when trying to execute java (tattletale), because of the /cygdrive/ paths.
To fix this, I added a non-intrusive function, and calls it in the command-line for java like this.
The new function looks like this:
def cygpath(path)
if (path.include? "cygdrive") then
path = cygpath -mp #{path}
path = path.strip
end
return path
end
and the modified call for the java command looks like this (line:69) java -Xmx512m -jar #{cygpath($Tattletale)} #{cygpath(jarpath)} #{cygpath(outdir)}
Please include these few extra lines, if you would want to support running the script from cygwin.
Thanks a lot.
Regards, Stefan
The text was updated successfully, but these errors were encountered:
I was running the pomgen script in cygwin, and it failed when trying to execute java (tattletale), because of the /cygdrive/ paths.
To fix this, I added a non-intrusive function, and calls it in the command-line for java like this.
The new function looks like this:
def cygpath(path)
if (path.include? "cygdrive") then
path =
cygpath -mp #{path}
path = path.strip
end
return path
end
and the modified call for the java command looks like this (line:69)
java -Xmx512m -jar #{cygpath($Tattletale)} #{cygpath(jarpath)} #{cygpath(outdir)}
Please include these few extra lines, if you would want to support running the script from cygwin.
Thanks a lot.
Regards, Stefan
The text was updated successfully, but these errors were encountered: