Re: [teiid-designer-dev] Teiid Designer on WIndows
by Paul Richardson
The initialise scripts that the auto-builder runs are bash shell scripts and windows cannot
understand them hence the errors.
In order to go cross-platform, I'll migrate them to ruby instead.
Means that everyone will need to install ruby (on all platforms) in order to build eclipse (unless I
can work out a way to run a script depending on the OS)
PGR
On 06/29/2013 12:11 AM, Ted Jones wrote:
> Hey Paul,
>
> I'm trying to get a dev environment setup on Windows so I can debug an error that only happens in a Windows environment. I get this exception when I build in Eclipse:
>
> Errors occurred during the build.
> Errors running builder 'Integrated External Tool Builder' on project 'org.teiid.8.4.x'.
> Exception occurred executing command line.
> Cannot run program "C:\Users\Ted Jones\apps\plugins\teiid-designer\plugins\teiid\org.teiid.8.4.x\initialise.sh" (in directory "C:\Users\Ted Jones\apps\plugins\teiid-designer\plugins\teiid\org.teiid.8.4.x"): CreateProcess error=193, %1 is not a valid Win32 application
> Exception occurred executing command line.
> Cannot run program "C:\Users\Ted Jones\apps\plugins\teiid-designer\plugins\teiid\org.teiid.8.4.x\initialise.sh" (in directory "C:\Users\Ted Jones\apps\plugins\teiid-designer\plugins\teiid\org.teiid.8.4.x"): CreateProcess error=193, %1 is not a valid Win32 application
> Errors running builder 'Integrated External Tool Builder' on project 'org.teiid.8.3.x'.
> Exception occurred executing command line.
> Cannot run program "C:\Users\Ted Jones\apps\plugins\teiid-designer\plugins\teiid\org.teiid.8.3.x\initialise.sh" (in directory "C:\Users\Ted Jones\apps\plugins\teiid-designer\plugins\teiid\org.teiid.8.3.x"): CreateProcess error=193, %1 is not a valid Win32 application
> Exception occurred executing command line.
> Cannot run program "C:\Users\Ted Jones\apps\plugins\teiid-designer\plugins\teiid\org.teiid.8.3.x\initialise.sh" (in directory "C:\Users\Ted Jones\apps\plugins\teiid-designer\plugins\teiid\org.teiid.8.3.x"): CreateProcess error=193, %1 is not a valid Win32 application
> Errors running builder 'Integrated External Tool Builder' on project 'org.teiid.7.7.x'.
> Exception occurred executing command line.
> Cannot run program "C:\Users\Ted Jones\apps\plugins\teiid-designer\plugins\teiid\org.teiid.7.7.x\initialise.sh" (in directory "C:\Users\Ted Jones\apps\plugins\teiid-designer\plugins\teiid\org.teiid.7.7.x"): CreateProcess error=193, %1 is not a valid Win32 application
> Exception occurred executing command line.
> Cannot run program "C:\Users\Ted Jones\apps\plugins\teiid-designer\plugins\teiid\org.teiid.7.7.x\initialise.sh" (in directory "C:\Users\Ted Jones\apps\plugins\teiid-designer\plugins\teiid\org.teiid.7.7.x"): CreateProcess error=193, %1 is not a valid Win32 application
>
>
> Any ideas?
>
> Thanks,
> Ted
>
--
Paul Richardson
* p.g.richardson(a)redhat.com
* pgrichardson(a)linux.com
* mob: +44 (0)9780 869490
11 years, 6 months
[Teiid-Designer/teiid-designer] 31b600: TEIIDDES-1768: Convert shell scripts to be cross-p...
by Paul Richardson
Branch: refs/heads/master
Home: https://github.com/Teiid-Designer/teiid-designer
Commit: 31b600a12100e52df035791c4e7c135c6c01910f
https://github.com/Teiid-Designer/teiid-designer/commit/31b600a12100e52df...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2013-07-01 (Mon, 01 Jul 2013)
Changed paths:
R documentation/guides/Teiid_Designer_User_Guide/.externalToolBuilders/maven-user-guide-publish-html.launch
A documentation/guides/Teiid_Designer_User_Guide/.externalToolBuilders/maven-user-guide-publish.launch
R documentation/guides/Teiid_Designer_User_Guide/.externalToolBuilders/publican-user-guide-publish-html.launch
A documentation/guides/Teiid_Designer_User_Guide/.externalToolBuilders/publican-user-guide-publish.launch
M documentation/guides/Teiid_Designer_User_Guide/.project
A documentation/guides/Teiid_Designer_User_Guide/build.xml
M plugins/teiid/org.teiid.7.7.x
M plugins/teiid/org.teiid.8.3.x
M plugins/teiid/org.teiid.8.4.x
R scripts/maven-wrapper.sh
R scripts/publican-wrapper.sh
Log Message:
-----------
TEIIDDES-1768: Convert shell scripts to be cross-platform
* Converts the mvn library scripts in runtime plugins to ant
* Converts the documentation builder scripts to ant
* Removes bash wrapper scripts
11 years, 6 months