You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Fedotov (JIRA)" <ji...@apache.org> on 2008/02/03 22:23:08 UTC

[jira] Commented: (HARMONY-336) Tool for repackaging xalan/xerces

    [ https://issues.apache.org/jira/browse/HARMONY-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565225#action_12565225 ] 

Alexei Fedotov commented on HARMONY-336:
----------------------------------------

The tool is great. Do we need it to be committed to the svn? I don't think that the tool is a product, it needs to become less specific and better documented, see my citation below. I believe that JIRA may be closed. I added a direct link to the tool from our wiki page, so it won't be missed. When someone decides to develop the tool further, it may be committed. What do you think?

		//where are those org$ Constants created???
		rc = rc.replace("org$apache$xpath",
						"org$apache$harmony$xpath$internal");
		rc = rc.replace("org/apache/xpath",
						"org/apache/harmony/xpath/internal");
		rc = rc.replace("org.apache.xpath",
						"org.apache.harmony.xpath.internal");

		rc = rc.replace("org$apache$xml", "org$apache$harmony$xml$internal");
		rc = rc.replace("org/apache/xml", "org/apache/harmony/xml/internal");
		rc = rc.replace("org.apache.xml", "org.apache.harmony.xml.internal");

		rc = rc.replace("org$apache$wml", "org$apache$harmony$wml$internal");
		rc = rc.replace("org/apache/wml", "org/apache/harmony/wml/internal");
		rc = rc.replace("org.apache.wml", "org.apache.harmony.wml.internal");

		rc = rc.replace("org$apache$html", "org$apache$harmony$html$internal");
		rc = rc.replace("org/apache/html", "org/apache/harmony/html/internal");
		rc = rc.replace("org.apache.html", "org.apache.harmony.html.internal");

		rc = rc.replace("org$apache$xmlcommons",
				"org$apache$harmony$xmlcommons$internal");
		rc = rc.replace("org/apache/xmlcommons",
				"org/apache/harmony/xmlcommons/internal");
		rc = rc.replace("org.apache.xmlcommons",
				"org.apache.harmony.xmlcommons.internal");

		rc = rc.replace("org$apache$env", "org$apache$harmony$env$internal");
		rc = rc.replace("org/apache/env", "org/apache/harmony/env/internal");
		rc = rc.replace("org.apache.env", "org.apache.harmony.env.internal");

		rc = rc.replace("org$apache$xalan",
						"org$apache$harmony$xalan$internal");
		rc = rc.replace("org/apache/xalan",
						"org/apache/harmony/xalan/internal");
		rc = rc.replace("org.apache.xalan",
						"org.apache.harmony.xalan.internal");

		rc = rc.replace("org$apache$regexp",
				"org$apache$harmony$regexp$internal");
		rc = rc.replace("org/apache/regexp",
				"org/apache/harmony/regexp/internal");
		rc = rc.replace("org.apache.regexp",
				"org.apache.harmony.regexp.internal");

		rc = rc.replace("org$apache$bcel", "org$apache$harmony$bcel$internal");
		rc = rc.replace("org/apache/bcel", "org/apache/harmony/bcel/internal");
		rc = rc.replace("org.apache.bcel", "org.apache.harmony.bcel.internal");

		rc = rc.replace("org$apache$xerces",
				"org$apache$harmony$xerces$internal");
		rc = rc.replace("org/apache/xerces",
				"org/apache/harmony/xerces/internal");
		rc = rc.replace("org.apache.xerces",
				"org.apache.harmony.xerces.internal");

> Tool for repackaging xalan/xerces
> ---------------------------------
>
>                 Key: HARMONY-336
>                 URL: https://issues.apache.org/jira/browse/HARMONY-336
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Misc
>         Environment: -
>            Reporter: Soeren Strassfeld
>            Priority: Minor
>         Attachments: repackage.zip
>
>
> Hi,
> I´ve created a quick and dirty tool based on bcel to do repackaging on bytecode level. I´ve tested it with the xalan/xerces jars in Harmony snapshot v2, and both, the standard xslt processor and the compiling processor seem to work.
> Thanks,
> Soeren

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.