[
https://issues.apache.org/jira/browse/SQOOP-949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ahmed El Baz updated SQOOP-949:
-------------------------------
Attachment: SQOOP-949.trunk.1.patch
Attaching a patch with propsed fix which does the following:
- provide Windows scripts src/scripts/create-tool-scripts.cmd and
src/scripts/write-version-info.cmd which perform the same logic as the .sh
scripts on Linux.
- Update build.xml to invoke the appropriate script based on the host OS.
- Skip real-docs target on Windows OS builds since as it invokes Linux specific
"make" executable
Verified builds are successful on both Linux and Windows, and Unit tests are
fully passing
> Allow Sqoop to build on Windows OS
> ----------------------------------
>
> Key: SQOOP-949
> URL: https://issues.apache.org/jira/browse/SQOOP-949
> Project: Sqoop
> Issue Type: Bug
> Components: build
> Affects Versions: 1.4.4
> Reporter: Ahmed El Baz
> Fix For: 1.4.4
>
> Attachments: SQOOP-949.trunk.1.patch
>
>
> Sqoop fails to build on Windows due to dependencies on Linux scripts like
> write-version-info.sh and create-tool-scripts.sh which fail to build on
> Windows without Cygwin.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira