on 12-13-2004 10:49 PM
I'm working with EP 6.0 SP 6.
I'm trying to figure out how to build a PAR using Ant. Dev Studio Help explains how to add Ant build script tasks to a project build process but it does not address how to actually build a par using Ant. My goal is to actually run an automated nightly build from a script so I need to know how to build a par with Ant - looks like this was documented in PDK 5.0.
I've read posts to this forum before (I think from Sept/Oct 04) on this subject but I don't seem to have access to the documents referenced in the replies.
The Getting Started: PDK (EP 5) doc links to localhost files - not very helpful to me. And I'm not sure how much of that information has changed in PDK 6.0.6.
Any information on this would be very helpful.
Thanks,
Scott
Scott,
I think it makes most sense to build a PAR the classical way (i.e. using SAP's plugins), rename the file to *.zip and peek into it for determining its structure and contents.
Then is shouldn't be a big deal for creating your own script. I did this several times because SAP's PAR exporter sometimes does not clean up properly its temp files.
Regards,
Dominik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi scott,
is this what you mean?
<target name="par" description="SAP EP portal archive" depends="">
<zip zipfile="$.par">
<zipfileset dir="PORTAL-INF" prefix="PORTAL-INF"/>
</zip>
</target>
or you need the entire script how to get to the par from soure code?
regards,
ds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have a sample build.xml that you could send me that would be great (my email:skagels@centra.com). But if all I have to do is add targets for compiling and zipping to the par file then I can do that. I was just afraid there might be some plugin processes that I'd have to run that I wasn't aware of. The build.xml would be very helpful.
Thanks,
Scott
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.