wood burning stoves 2.0*
The moose likes Websphere and the fly likes zipCreation utility Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "zipCreation utility" Watch "zipCreation utility" New topic
Author

zipCreation utility

Cristian Negresco
Ranch Hand

Joined: Sep 15, 2001
Posts: 182
Hi,

I've just read an article about zipCreation utility in Websphere:
http://www-128.ibm.com/developerworks/websphere/library/techarticles/0112_deboer/deboer2.html

but was not able to download the utility:
http://www-128.ibm.com/developerworks/websphere/library/techarticles/0112_deboer/displayLicense=yes&viewType=License&devDomain=wsdd&docId=300261&downloadLicenseUrl=/wsdd/includes/licenses/lic_nonwarranted.ssi&downloadUrl=http://www7.software.ibm.com/vadd-bin/httpdl?1/vadc/wsdd/0112_deboer/zipCreation.zip

Anyone knows how the get hold of it?

Regards,
Cristian
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

Cristian,
Are you still on WSAD 4? WSAD 5 and RAD 6 have this built in.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Cristian Negresco
Ranch Hand

Joined: Sep 15, 2001
Posts: 182
Hello,

First of all thank you Jeanne for your answers.
Funny, I thought this might be the reason for which is not available for download and checked it. Checked it once more after your message but still I was not able to find it.

I mainly need to have a virtual project which creates a jar out of file system resources. The project should realize when one of the resources has changed and rebuild the output jar. The output jar is to be put in /WebContent of a war.

If there is something like that in WSAD (I use 5.1.1) please let me know where to find/activate it. I could of course create a Java project but then I could not access resources outside the directory where the Java project was created.

I would also like the jars to be signed, but that's already a different story.

Regards,
Cristian
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

Originally posted by Cristian Negresco:
I mainly need to have a virtual project which creates a jar out of file system resources. The project should realize when one of the resources has changed and rebuild the output jar. The output jar is to be put in /WebContent of a war.

Zipcreator was replaced by the concept of project utility jars (which is probably why you can't find it.) You create a java project with your code. Then you add it as a project utility project for your EAR. It automatically gets jar'd up into a jar in the EAR that any projects in the EAR can reference. I haven't tried it with a war though. To try that out, you would go to the J2EE perspective. In any case, it is usually ok to store the jar in the EAR directory or subdirectory.


I could not access resources outside the directory where the Java project was created.

Why not? It is just Java code which inherits the environment of its caller. If you call it from a servlet, the Java code has access to the web project's resources.


I would also like the jars to be signed, but that's already a different story

Consider Ant. In fact, this may solve all your problems . You can configure an Ant script to run every time you modify a project. Just point to it as an "external tool builder" on the project properties.
Cristian Negresco
Ranch Hand

Joined: Sep 15, 2001
Posts: 182
Hello,

" Zipcreator was replaced by the concept of project utility jars (which is probably why you can't find it.) You create a java project with your code. Then you add it as a project utility project for your EAR. It automatically gets jar'd up into a jar in the EAR that any projects in the EAR can reference. I haven't tried it with a war though. To try that out, you would go to the J2EE perspective. In any case, it is usually ok to store the jar in the EAR directory or subdirectory.
Why not? It is just Java code which inherits the environment of its caller. If you call it from a servlet, the Java code has access to the web project's resources. "

My problem is that I wan't to see and pack sources outside of the Java Utility project. The need stems from the fact that I have non-J2EE projects: a JWS one.

" Consider Ant. In fact, this may solve all your problems . You can configure an Ant script to run every time you modify a project. Just point to it as an "external tool builder" on the project properties."

Yes!, that was the solution. Thank you.

Cristian
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: zipCreation utility
 
Similar Threads
Need Help on IllegalStateException
WSAD tutorial
Hibernate class not found Exception!!
Where to put common jar in WAS 4.x
deployment problem for a project which is developed using wsad