Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
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
eclipse
paho.mqtt.c
Commits
f0d04c2f
Commit
f0d04c2f
authored
Apr 02, 2014
by
Ian Craggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create a better build package
parent
e4b8443f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
6 deletions
+38
-6
build.xml
build.xml
+38
-6
No files found.
build.xml
View file @
f0d04c2f
<!--*******************************************************************************
Copyright (c) 2012, 2013 IBM Corp.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
and Eclipse Distribution License v1.0 which accompany this distribution.
The Eclipse Public License is available at
http://www.eclipse.org/legal/epl-v10.html
and the Eclipse Distribution License is available at
http://www.eclipse.org/org/documents/edl-v10.php.
Contributors:
Ian Craggs - initial API and implementation and/or initial documentation
*******************************************************************************-->
<project
name=
"MQTT C Client"
default=
"full"
>
<taskdef
resource=
"net/sf/antcontrib/antlib.xml"
>
...
...
@@ -8,7 +24,7 @@
</taskdef>
<property
name=
"output.folder"
value=
"build/output"
/>
<property
name=
"release.version"
value=
"
1.0.0.2
"
/>
<property
name=
"release.version"
value=
"
0.4.0
"
/>
<property
name=
"libname"
value=
"mqttv3c"
/>
<property
name=
"libname.ssl"
value=
"mqttv3cs"
/>
...
...
@@ -287,9 +303,25 @@
<exec
executable=
"make"
dir=
"."
/>
</then>
</if>
<zip
destfile=
"${output.folder}/paho-client-mqtt-c.zip"
>
<zipfileset
dir=
"${output.folder}"
includes=
"libpaho*,include/*,MQTTVersion,samples/*"
/>
</zip>
<mkdir
dir=
"${output.folder}/include"
/>
<copy
overwrite=
"true"
todir=
"${output.folder}/include"
>
<fileset
dir=
"src"
includes=
"MQTTClient.h,MQTTAsync.h,MQTTClientPersistence.h"
/>
</copy>
<copy
overwrite=
"true"
todir=
"${output.folder}"
>
<fileset
dir=
"."
includes=
"README.md,CONTRIBUTING.md,about.html,notice.html,edl-v10,epl-v10"
/>
</copy>
<delete>
<fileset
dir=
"."
includes=
"paho-mqtt-c-unix-${release.version}.tar.gz"
/>
</delete>
<exec
executable=
"tar"
failonerror=
"true"
dir=
"${output.folder}"
>
<arg
value=
"acf"
/>
<arg
value=
"../../paho-mqtt-c-unix-${release.version}.tar.gz"
/>
<arg
value=
"."
/>
<arg
value=
"--exclude=test"
/>
</exec>
</then>
</if>
</target>
...
...
@@ -301,8 +333,8 @@
<mkdir
dir=
"/shared/technology/paho/C/${build.level}"
/>
<echo
message=
"Copying the build output to /shared"
/>
<copy
overwrite=
"true"
todir=
"/shared/technology/paho/C/${build.level}"
>
<fileset
dir=
"
${output.folder}
"
>
<include
name=
"*.
zip
"
/>
<fileset
dir=
"
.
"
>
<include
name=
"*.
gz
"
/>
</fileset>
</copy>
</then>
...
...
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