Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
gpucloudsim
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LPDS
gpucloudsim
Commits
303b0297
Commit
303b0297
authored
Oct 29, 2012
by
Anton Beloglazov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Issue 32: problem with ant classpath declaration
parent
854f5b10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
33 deletions
+38
-33
build.xml
documentation/src/main/resources/build.xml
+38
-33
No files found.
documentation/src/main/resources/build.xml
View file @
303b0297
<?xml version="1.0"?>
<!--
July 2010
Build file or Makefile for CloudSim.
Note:
Note:
Make sure you have installed 'ant' and put the location of it into
your path so you can access it anywhere.
'ant' can be downloadable from http://ant.apache.org/
Usage:
* Type 'ant' to compile all cloudsim source files, put them into the
* Type 'ant' to compile all cloudsim source files, put them into the
classes/ directory and to create a cloudsim-new.jar file in the jars/ directory
* Type 'ant clean' to delete all the compiled classes and the classes/
directory itself. The generated cloudsim-new.jar is not deleted.
* Type 'ant clean' to delete all the compiled classes and the classes/
directory itself. The generated cloudsim-new.jar is not deleted.
Note:
* You need to set up PATH for ant in Windows and/or Unix.
Acknowledgement:
* You need to set up PATH for ant in Windows and/or Unix.
Acknowledgement:
Thank to Uros Cibej for providing this file and instruction on
how to use it.
-->
...
...
@@ -36,46 +36,51 @@ Acknowledgement:
This is the build file for CloudSim
</description>
<!-- location of libraries -->
<property
name=
"classpath"
location=
"./jars/flanagan.jar"
/>
<!-- location to store Java classes -->
<!-- location to store Java classes -->
<property
name=
"class.dir"
location=
"./classes"
/>
<!-- location to store CloudSim source files -->
<property
name=
"src.dir"
location=
"./sources"
/>
<!-- location to store jar files -->
<property
name=
"jar.dir"
location=
"./jars"
/>
<!-- classpath declaration -->
<path
id=
"classpath"
>
<fileset
dir=
"./jars"
>
<include
name=
"*.jar"
/>
</fileset>
</path>
<target
name=
"prepare"
>
<mkdir
dir=
"${class.dir}"
/>
</target>
<!-- rule to compile CloudSim source files -->
<target
name=
"build"
depends=
"prepare"
>
<javac
srcdir=
"${src.dir}"
destdir=
"${class.dir}"
classpath=
"${classpath}"
includeantruntime=
"false"
/>
<javac
srcdir=
"${src.dir}"
destdir=
"${class.dir}"
includeantruntime=
"false"
>
<classpath
refid=
"classpath"
/>
</javac>
</target>
<!-- Rule for making a jar file.
<!-- Rule for making a jar file.
Note:
* The new jar file is named as "cloudsim-new.jar" to avoid overriding
* The new jar file is named as "cloudsim-new.jar" to avoid overriding
the existing jar file.
* The new jar file only contains cloudsim classes only.
* The new jar file only contains cloudsim classes only.
-->
<target
name=
"makejar"
depends=
"build"
>
<echo>
Compiling a new jar file, named: "cloudsim-new.jar".
</echo>
<echo>
This jar file contains CloudSim classes only.
</echo>
<jar
destfile=
"${jar.dir}/cloudsim-new.jar"
basedir=
"${class.dir}"
/>
</target>
<jar
destfile=
"${jar.dir}/cloudsim-new.jar"
basedir=
"${class.dir}"
/>
</target>
<target
name=
"clean"
description=
"clean up"
>
<delete
dir=
"${class.dir}"
/>
</target>
</project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment