|
11 | 11 | $JUNIT_HOME/junit.jar |
12 | 12 | </description> |
13 | 13 |
|
| 14 | + <!-- versioning/manifest properties --> |
| 15 | + <property name="implementation.vendor" value="wolfSSL Inc." /> |
| 16 | + <property name="implementation.title" value="wolfSSL JNI/JSSE" /> |
| 17 | + <property name="implementation.version" value="1.10" /> |
| 18 | + |
14 | 19 | <!-- set properties for this build --> |
15 | 20 | <property name="src.dir" value="src/java/"/> |
16 | 21 | <property name="native.dir" value="native"/> |
|
157 | 162 |
|
158 | 163 | <target name="jar"> |
159 | 164 | <jar jarfile="${lib.dir}/wolfssl.jar"> |
| 165 | + <manifest> |
| 166 | + <attribute name="Implementation-Title" |
| 167 | + value="${implementation.title}" /> |
| 168 | + <attribute name="Implementation-Version" |
| 169 | + value="${implementation.version}" /> |
| 170 | + <attribute name="Implementation-Vendor" |
| 171 | + value="${implementation.vendor}" /> |
| 172 | + </manifest> |
160 | 173 | <fileset dir="${build.dir}"> |
161 | 174 | <include name="com/wolfssl/*.class"/> |
162 | 175 | <include name="com/wolfssl/wolfcrypt/*.class"/> |
|
165 | 178 | </target> |
166 | 179 |
|
167 | 180 | <target name="jar-jsse"> |
168 | | - <jar jarfile="${lib.dir}/wolfssl-jsse.jar" basedir="${build.dir}"></jar> |
| 181 | + <jar jarfile="${lib.dir}/wolfssl-jsse.jar" basedir="${build.dir}"> |
| 182 | + <manifest> |
| 183 | + <attribute name="Implementation-Title" |
| 184 | + value="${implementation.title}" /> |
| 185 | + <attribute name="Implementation-Version" |
| 186 | + value="${implementation.version}" /> |
| 187 | + <attribute name="Implementation-Vendor" |
| 188 | + value="${implementation.vendor}" /> |
| 189 | + </manifest> |
| 190 | + </jar> |
169 | 191 | </target> |
170 | 192 |
|
171 | 193 | <target name="javadoc" description="generate documentation"> |
|
0 commit comments