Welcome to Cloudify
The purpose of this README file is to explain how one can easily build fully functional Cloudify version taking source code from GitHub.
For more information visit us at http://www.cloudifysource.org/guide.
To follow and open new issues please use https://cloudifysource.atlassian.net/.
Enjoy!
Requirements
- Available Internet connection
- Installed Oracle JDK 6 or higher
- Installed Ant 1.8 or higher
- Installed maven 3 or higher
- System variable M2_HOME must be defined and point to maven installation folder.
Build Instructions
- make sure that you have git, ant and maven installed.
- In command line, run the following commands:
git clone https://github.com/CloudifySource/cloudify.git
cd cloudify/cloudify
ant cloudify.zip
- The Cloudify distribution will be available under the 'cloudify/releases/build_BUILDNUMBER/' directory
Import Cloudify to Eclipse
- Make sure that the Maven Eclipse Plugin is installed
- Import the Cloudify maven project. In the file menu click: 'Import>Maven>Existing Maven Projects projects' then select: cloudify/cloudify/pom.xml
Debugging the CLI without cloud plugin support
- To debug the CLI without plugin support
cd cloudify/CLI/
mvndebug -e compile exec:java
- Connect the eclipse project to port 8000 and start the remote debugging.
Debugging the CLI with cloud plugin support
- Build cloudify as described above
- Enable debugging option in the cloudify startup script:
On Linux edit cloudify/tmp/tools/cli/cloudify.sh and append ${CLOUDIFY_DEBUG_OPTIONS} to the commandline adjacent to
On Windows edit cloudify/tmptools/cli/cloudify.bat and append %CLOUDIFY_DEBUG_OPTIONS% to the commandline adjacent to
${CLOUDIFY_JAVA_OPTIONS}
%CLOUDIFY_JAVA_OPTIONS%
- Connect the eclipse project to port 9000 and start the remote debugging.
Copyright and license
Copyright (c) 2011 GigaSpaces Technologies Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.