Solved

How to update a jar file

Posted on 2011-02-15
3
285 Views
Last Modified: 2012-05-11
Hello,

I've extracted a jar file, made changes to a .properties file, saved and added the files to a new jar archive (WInRAR).  Will this work?

The Java project in Eclipse, seems to have no changes.

I have posted another question today about CastorXML, and noticed during a google search the following properties must be set to true to enable Validation (castor.properties).  The castor Library is castor-0.9.5.2.jar. I don't see any changes in the console.

# True if all documents should be indented on output by default
#
org.exolab.castor.indent=true


# True if xml documents should be validated by the SAX Parser
#
org.exolab.castor.parser.validation=true
org.exolab.castor.parser.namespaces=true

# True if all documents should be validated by the marshalling framework
#
org.exolab.castor.marshalling.validation=true

Thanks
0
Comment
Question by:AndyC1000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 12

Expert Comment

by:enachemc
ID: 34894800
it will work
a jar is actually a zip file
0
 
LVL 92

Accepted Solution

by:
objects earned 125 total points
ID: 34894823
make sure you are including the new jar (and removed old one) in your projects build path
0
 
LVL 20

Assisted Solution

by:ChristoferDutz
ChristoferDutz earned 125 total points
ID: 34895301
Just my 50ct: And if you are using Maven (Jar File name looks as if this could be the case), you would have to deploy your updated version to your repository using a new version, which you would have to reference in your pom.xml
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This video teaches viewers about errors in exception handling.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question