ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Archie Cobbs (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-829) Add new "packager" resolver to Ivy
Date Mon, 21 Jul 2008 17:37:31 GMT

    [ https://issues.apache.org/jira/browse/IVY-829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615322#action_12615322
] 

Archie Cobbs commented on IVY-829:
----------------------------------

There are a couple of problems on my system.

First I had to fix this compile error (easy):
{noformat}
    [javac] /home/archie/ivycore/trunk/test/java/org/apache/ivy/plugins/resolver/PackagerResolverTest.java:38:
cannot find symbol
    [javac] symbol  : class PackagerProperty
    [javac] location: package org.apache.ivy.plugins.resolver.packager
    [javac] import org.apache.ivy.plugins.resolver.packager.PackagerProperty;
    [javac]                                                 ^
{noformat}

Next, I got some error I had never seen before compiling the stylesheet:

{noformat}
/home/archie/ivycore/trunk/build/test/PackagerResolverTest/build/org/mod/1.0/build.xml:45:
Fatal error during transformation
        at org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:720)
        at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:333)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
...
Caused by: Fatal error during transformation
        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.fatalError(TraXLiaison.java:346)
        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:839)
        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.readTemplates(TraXLiaison.java:207)
        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.createTransformer(TraXLiaison.java:225)
        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiaison.java:123)
        at org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:709)
        ... 35 more
Caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:829)
        ... 39 more
{noformat}
On standard error was this:
{noformat}
java.lang.RuntimeException: Instruction unknown: load?nstruction
        at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(InstructionFinder.java:138)
        at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
        at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:218)
        at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:264)
        at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1444)
        at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1058)
        at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
        at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
        at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:354)
        at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:429)
        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:796)
        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.readTemplates(TraXLiaison.java:207)
        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.createTransformer(TraXLiaison.java:225)
        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiaison.java:123)
{noformat}
I have no idea how to fix this ... but it may be something specific to my installation of
Java or ant or something. If other people can run the test successfully then this can be ignored
I guess.


> Add new "packager" resolver to Ivy
> ----------------------------------
>
>                 Key: IVY-829
>                 URL: https://issues.apache.org/jira/browse/IVY-829
>             Project: Ivy
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Archie Cobbs
>            Assignee: Maarten Coene
>             Fix For: 2.0-RC1
>
>         Attachments: m2repo.tgz, packager-resolver-patch.txt, test-patch.txt
>
>
> Feature request to add a new resolver, called the "Packager Resolver", [described here|http://ivyroundup.googlecode.com/svn/wiki/files/packager.html].
> Patch is attached and also available [here|http://ivyroundup.googlecode.com/svn/wiki/files/packager-resolver.patch].
Patch contains binary test files, so to apply it you have to follow the [simple steps described
here|http://code.google.com/p/ivyroundup/].

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


Mime
View raw message