bin/idea.sh and Cygwin
Baesken, Matthias
matthias.baesken at sap.com
Thu Nov 8 13:12:22 UTC 2018
Hi Chris , thanks for the info .
However I found out that replacing the /cygdrive/C/ with C:/ in the top-level xml/iml files in the ".idea" - folder
makes IntelliJ happy, I could then open the project successfully from IntelliJ .
So I guess a couple of "cygpath -aw" -calls at the right places in the project generation might fix the idea.sh based project file generation on Cygwin (without postprocessing).
Any comments on this ?
Or is there another way to get .idea/-files that open "out of the box" ?
Best regards, Matthias
> -----Original Message-----
> From: Chris Hegarty <chris.hegarty at oracle.com>
> Sent: Donnerstag, 8. November 2018 12:52
> To: Baesken, Matthias <matthias.baesken at sap.com>; 'build-
> dev at openjdk.java.net' <build-dev at openjdk.java.net>;
> maurizio.cimadamore at oracle.com
> Subject: Re: bin/idea.sh and Cygwin
>
> Matthias,
>
> On 08/11/18 11:45, Baesken, Matthias wrote:
> > Hello, I tried to use bin/idea.sh with Cygwin to generate project files for
> IDEA IntelliJ Community .
> >
> > The project file generation seems to work and outputs the .idea - folder
> with lots of xml files in it .
> > However , when opening the project from IDEA, it fails with a message :
> >
> > VCS root configuration problems -
> >
> > The directory \cygdrive\C\hg\open\jdk\jdk6 is registered as a hg4idea root
> but no hg4idea repositories were found there .
> > C.\hg\open\jdk\jdk6
> >
> >
> > Could it be that the Cygwin-paths in the generated xml-files confuse the
> IDEA intelliJ IDE ?
>
> Certainly looks like it.
>
> > Has anybody ever used it successfully with Cygwin/ Windows ?
> > ( or with some other UNIX shell/toolset for Windows) ?
>
> I have not tried. I use it successfully on macOS and Linux.
>
> -Chris.
More information about the build-dev
mailing list