Does anyone have any experience with performing a jar update using ANT?
I have a JAR file, and all I want to do is replace the manifest with one
provided by me.
I can achieve this using the jar command by calling:
jar -uvfM code.jar META-INF/manifest.mf
Looking at the ANT task, it seems that
Yup. I modified the Zip task (from which Jar inherits) to
allow updates.
If you get hold of the latest sources for 1.4, I believe it
should be in
there - you just need update=true as a parameter along with
the normal
manifest specification. I think that should be enough... let
me know
Having looked a bit closer, there seems to be no difference between
using m and specifying a file to use as the manifest, and using M
and having a META-INF/MANIFEST.mf file, other than that the
former is a
bit more flexible. If this is the case, I suspect that just using the
manifest
Hello,
I tried this also, using the following. When executed, the task just hangs.
Any idea's?
I had to add the Source Safe/bin directory to get access to SS.EXE
vssget localPath=D:\test
recursive=true
label=1.0
login=user,password
vsspath=S:\Project
Is there any plans to release 1.4 anytime soon? (or even go to beta)
It seems very stable.
Regards,
Peter Flynn
This email may contain information which is privileged or confidential. If you are not
the intended recipient
The VSSGET task has suddenly stopped working. A sub-directory was removed
from the Source Safe repository, and now VSSGET complains. I have a feeling
its an SS.EXE problem, but it works fine when I perform the task from the
Source Safe client.
I had a feeling that it might be because its
autoresponse? Its in the vsscheckin task, but its not
documented in the vssget task.
Which version of Ant are you using? The autoresponse option is
documented in the docs on the website, and in the released 1.4 manual.
1.4 - but I've realised I was looking at old Java documentation for
=package3/**/
include name=package4/**/
/javac
It works fine, so remove the classpath attribute part out from the javac
task and move it into classpath as shown above. It might solve your
problem.
Regards,
Peter Flynn
Hi,
I use Forte For Java as my IDE. In this, there is an ANT component
(v2.2.2).
Firstly, I'm impressed that this version is higher than the current 1.4, but
I wondered if there was any update so that I can use Ant 1.4 inside Forte.
Any suggestions?
At present, I have an external batch
Thanks for the links.
For the interim, I've found that copying the ant.jar and ant-optional.jar
for 1.4 into the lib/etc in forte4j seems to work anyway. I've tested this
against my current build script (users 1.4 features) and it works great.
Regards,
Peter
I suppose the list administrator at [EMAIL PROTECTED]
Also, since he sent the mail from Yahoo!, you can report him to Yahoo! at
[EMAIL PROTECTED] for sending
it in the first place.
-Original Message-
From: Judy Sowell [mailto:[EMAIL PROTECTED]]
Sent: 01 October 2001 17:14
To:
FYI
Weblogic 6.1's ejbc compiler does not like spaces in the pathname.
This was noticed on a Windows 2000 setup.
I must admit, I've seen this also - although I think its a Java thing since
Java (java.io.File) can't handle spaces either - unless the parameter is
encased in quotes which
Those .sqlj files sounds interesting. What are they?
SQL for Java. It is embedded SQL placed inside Java classes. You then run
a compiler over the embedded SQL and it writes the Java for you. It saves
you development time as you do not have
to write all the JDBC calls. You simply put in the
Mark,
I do this with ANT 1.4, and it works fine under that version. This is what I
have in my tasks.
jarjarfile=${dist}/Server.jar
manifest=${dist}/server.mf
compress=false
basedir=${dist}/build
include name=server/**/
exclude
Peter,
My email program (Outlook) is refusing to show your mails. I get this:
---
Outlook could not verify that KLOTZ,PETER (HP-Germany,ex1) sent this message. If you choose, you can continue and view this message.
You can look at the problems with the certificate by selecting View
I've seen this too. Its unfortunately Source Safe that is the problem.
Basically, if I had the $/com/syntegra tree labelled to 1.3 and not the root
$/com, when I tried to check
out from source safe with the 1.3 label on the root, it doesn't know of any
1.3 label. From past
experience, CVS
Euan,
I've just had an email from the IT helpdesk saying that that SSGet.exe has
been quarantined, and the email is
not being forwarded to my account.
Either ZIP the exe, or post it on a HTTP server so we can download it.
Regards,
Peter
I was just wondering if anyone had written an external task to the XJC
compiler for the JAXB Early Access Release.
Does one exist?
Regards,
Peter
This email may contain information which is privileged or confidential. If
. You have to be
open to use and integrate all technologies.
Regards,
Peter Flynn
---
This email may contain information which is privileged or confidential. If you are not
the intended recipient of this email, please notify
hi, don't know what xjc is and am new to jaxb and ant, but
why not just
have a precompile step that does:
java -jar D:\java\jaxb-1.0-ea\lib\jaxb-xjc-1.0-ea.jar foo.dtd foo.xjs
Hi Ray,
That's what I'm going to do to add it to the build.
Thanks,
Peter
Vive Fortran 77!
No no no... Vive COBOL
Peter
This email may contain information which is privileged or confidential. If you are not
the intended recipient of this email, please notify the sender immediately and delete
Tom,
It looks like its not picking up the j2eeXX.jar, (in which that class
resides).
Could you check to see if its got something like j2ee12.jar in the classpath
that you have provided.
Mine is located in C:\bea\wlserver6.1\lib\j2ee12.jar
Regards,
Peter
Subject: Re: Invoking ant with custom ClassLoader
Absolutely. In fact, we already do something similar to that for
command-line and
batch-style builds. But now I'm working on integrating ANT
into an IDE
(NetBeans,
specifically), and so I want/need a 100% java solution.
Netbeans (Forte
23 matches
Mail list logo