N
NickName
Hi,
I'm new to java, so, I may get terminilogy wrong, bear with me. Here's
the problem. We use a set of tools to perform data extraction from a
repository into XML, then generate HTML for them. For this process,
we've got a BIG jar file that includes thousands of classes. Now,
recently a piece of data that includes section symbol, § was added to
the repository. The current extraction process does not include java
code for automatic translation into HTML encoded code, so, it stops the
HTML generation for this particular piece of data. Process-wise, it's
XML extraction from repository and then HTML (files) generation from
the XML files. As it stands, the second process of HTML generation for
this particular set of data failed.
Given the situation, we added the § to HTML encoded code to a piece of
java code that is being used during the data extraction and HTML
publishing process. However, when we ran a test, results indicate the
process has not translated the symbol, which also means that the
updated java source code was not being used. So, here are some
questions,
the BIG jar file uses some packages, one of which references this
particular java source code.
I've looked jar utility syntax, an inital thought was, to update this
jar file to recompile the updated java source code, however, however,
all the links/references on the web that I've looked at about jar
utility do not indicate how to update a jar file that includes an
updated java file.
Would using the u option alone update all? Then, it does not make
sense for the other thousands of files.
Secondly, how about re-package the package that reference this piece of
java code? Would the re-package recompiled all the referenced java
code/classes? Would I have to do something about the BIG jar file that
references this package or now it's been "updated"?
Many thanks.
I'm new to java, so, I may get terminilogy wrong, bear with me. Here's
the problem. We use a set of tools to perform data extraction from a
repository into XML, then generate HTML for them. For this process,
we've got a BIG jar file that includes thousands of classes. Now,
recently a piece of data that includes section symbol, § was added to
the repository. The current extraction process does not include java
code for automatic translation into HTML encoded code, so, it stops the
HTML generation for this particular piece of data. Process-wise, it's
XML extraction from repository and then HTML (files) generation from
the XML files. As it stands, the second process of HTML generation for
this particular set of data failed.
Given the situation, we added the § to HTML encoded code to a piece of
java code that is being used during the data extraction and HTML
publishing process. However, when we ran a test, results indicate the
process has not translated the symbol, which also means that the
updated java source code was not being used. So, here are some
questions,
the BIG jar file uses some packages, one of which references this
particular java source code.
I've looked jar utility syntax, an inital thought was, to update this
jar file to recompile the updated java source code, however, however,
all the links/references on the web that I've looked at about jar
utility do not indicate how to update a jar file that includes an
updated java file.
Would using the u option alone update all? Then, it does not make
sense for the other thousands of files.
Secondly, how about re-package the package that reference this piece of
java code? Would the re-package recompiled all the referenced java
code/classes? Would I have to do something about the BIG jar file that
references this package or now it's been "updated"?
Many thanks.