Make copies of SP Adaptor JARs for User Profiles
The only difference with the copies for User Profile Adaptor is that the
Main-Class is different, so using "java -jar" works as expected.
diff --git a/build.xml b/build.xml
index 32cb1e0..663aef2 100644
--- a/build.xml
+++ b/build.xml
@@ -265,6 +265,26 @@
</manifest>
</jar>
+ <!-- adaptor-sharepoint-user-profile.jar -->
+ <jar filesetmanifest="mergewithoutmain"
+ destfile="${dist.staging.dir}/adaptor-sharepoint-user-profile${adaptor.suffix}.jar">
+ <zipfileset
+ src="${dist.staging.dir}/adaptor-sharepoint${adaptor.suffix}.jar"/>
+ <manifest>
+ <attribute name="Main-Class" value="${adaptor2.class}"/>
+ </manifest>
+ </jar>
+
+ <!-- adaptor-sharepoint-user-profile-withlib.jar -->
+ <jar filesetmanifest="mergewithoutmain"
+ destfile="${dist.staging.dir}/adaptor-sharepoint-user-profile${adaptor.suffix}-withlib.jar">
+ <zipfileset
+ src="${dist.staging.dir}/adaptor-sharepoint${adaptor.suffix}-withlib.jar"/>
+ <manifest>
+ <attribute name="Main-Class" value="${adaptor2.class}"/>
+ </manifest>
+ </jar>
+
<!-- adaptor-bin.zip -->
<move file="${dist.staging.dir}"
tofile="${build.dir}/dist/adaptor-sharepoint${adaptor.suffix}"/>