You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lester Ward <lw...@tagaudit.com> on 2003/04/08 16:13:46 UTC

Beta 8 problems

I just installed Beta 8 on a virgin machine. When running Maven (against any
goal), I'm getting an "unknown protocol" exception. Here is a -X dump (in
its entirety):

D:\src\itag>maven -X java:jar
java.net.MalformedURLException: unknown protocol: c
        at java.net.URL.<init>(URL.java:586)
        at java.net.URL.<init>(URL.java:476)
        at java.net.URL.<init>(URL.java:425)
        at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401)
        at com.werken.forehead.Forehead.load(Forehead.java:322)
        at com.werken.forehead.Forehead.config(Forehead.java:245)
        at com.werken.forehead.Forehead.config(Forehead.java:131)
        at com.werken.forehead.Forehead.main(Forehead.java:571)

Any help would be appriciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JellyDoc Problems in Reactor

Posted by "Mark R. Diggory" <md...@latte.harvard.edu>.
I think I'm more concerned with where 
${plugin.resources}/${plugin.artifactId}.jelly points to when using the 
reactor. I've been observing that the jellydoc goal  works ok directly 
from the maven commandline.

I'll try to tweek the jellydoc plug-in to start using it? If it does 
work, then I'll post the patch.

-Mark

James Strachan wrote:

> FWIW I recently added support for <j:include file="${someFile}"/>  to 
> CVS HEAD of Jelly if thats of any help. And CVS HEAD of beanutils can 
> auto-convert Strings into File objects which might be of use too.
>
>
> On Tuesday, April 8, 2003, at 03:53  pm, Mark R. Diggory wrote:
>
>> From what I can see, I'm getting the following error if I call the 
>> jellydoc goal from attainGoal or from the reactor.
>>
>> +----------------------------------------
>> | Building BCEL Tag Library
>> | Memory: 11M/234M
>> +----------------------------------------
>> Attempting to download commons-jelly-SNAPSHOT.jar.
>> .......................
>> jellydoc:init:
>>
>> jellydoc:doclet:
>>     [echo] Generating jellydoc for packages 
>> org.apache.commons.jelly.tags.bcel.*
>>
>>     [echo] Source directory is 
>> C:\eclipse\workspace\repast-jelly-taglibrary\tagl
>> ibraries\bcel/src/java
>>     [javadoc] Generating Javadoc
>>     [javadoc] Javadoc execution
>>     [javadoc] Loading source files for package 
>> org.apache.commons.jelly.tags.bce
>> l...
>>     [javadoc] Constructing Javadoc information...
>>     [javadoc] processing package: org.apache.commons.jelly.tags.bcel
>>     [javadoc] processing tag: property
>>     [javadoc] processing tag: method
>>     [javadoc] processing tag: class
>>     [copy] Copying 1 file to 
>> C:\eclipse\workspace\repast-jelly-taglibrary\taglib
>> raries\bcel\target\generated-xdocs
>>
>> BUILD FAILED
>> Unable to obtain goal [jellydoc] -- null:43:52: <j:include> could not 
>> include jelly script
>> Total time:  34 seconds
>>
>> It appears its having problems locating 
>> ${plugin.resources}/${plugin.artifactId}.jelly
>>
>> in the following plugin.jelly fragment.
>>
>>   <goal name="jellydoc" prereqs="jellydoc:doclet"
>>     description="Generates the tag documentation">
>>
>>     <ant:mkdir dir="${genDocs}"/>
>>
>>     <j:file name="${genDocs}/tags.xml">
>>
>>       <!-- the following should be way easier - j:include should 
>> support files -->
>>       <j:new var="file" className="java.io.File">
>>         <j:arg value="${plugin.resources}/${plugin.artifactId}.jelly"/>
>>       </j:new>
>>
>>       <!--
>>       <echo>About to include ${file.toURL()}</echo>
>>       -->
>>
>>       <j:include uri="${file.toURL().toString()}"/>
>>     </j:file>
>>   </goal>
>>
>> Any tips?
>> -Mark Diggory
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JellyDoc Problems in Reactor

Posted by James Strachan <ja...@yahoo.co.uk>.
FWIW I recently added support for <j:include file="${someFile}"/>  to 
CVS HEAD of Jelly if thats of any help. And CVS HEAD of beanutils can 
auto-convert Strings into File objects which might be of use too.


On Tuesday, April 8, 2003, at 03:53  pm, Mark R. Diggory wrote:

> From what I can see, I'm getting the following error if I call the 
> jellydoc goal from attainGoal or from the reactor.
>
> +----------------------------------------
> | Building BCEL Tag Library
> | Memory: 11M/234M
> +----------------------------------------
> Attempting to download commons-jelly-SNAPSHOT.jar.
> .......................
> jellydoc:init:
>
> jellydoc:doclet:
>     [echo] Generating jellydoc for packages 
> org.apache.commons.jelly.tags.bcel.*
>
>     [echo] Source directory is 
> C:\eclipse\workspace\repast-jelly-taglibrary\tagl
> ibraries\bcel/src/java
>     [javadoc] Generating Javadoc
>     [javadoc] Javadoc execution
>     [javadoc] Loading source files for package 
> org.apache.commons.jelly.tags.bce
> l...
>     [javadoc] Constructing Javadoc information...
>     [javadoc] processing package: org.apache.commons.jelly.tags.bcel
>     [javadoc] processing tag: property
>     [javadoc] processing tag: method
>     [javadoc] processing tag: class
>     [copy] Copying 1 file to 
> C:\eclipse\workspace\repast-jelly-taglibrary\taglib
> raries\bcel\target\generated-xdocs
>
> BUILD FAILED
> Unable to obtain goal [jellydoc] -- null:43:52: <j:include> could not 
> include jelly script
> Total time:  34 seconds
>
> It appears its having problems locating 
> ${plugin.resources}/${plugin.artifactId}.jelly
>
> in the following plugin.jelly fragment.
>
>   <goal name="jellydoc" prereqs="jellydoc:doclet"
>     description="Generates the tag documentation">
>
>     <ant:mkdir dir="${genDocs}"/>
>
>     <j:file name="${genDocs}/tags.xml">
>
>       <!-- the following should be way easier - j:include should 
> support files -->
>       <j:new var="file" className="java.io.File">
>         <j:arg value="${plugin.resources}/${plugin.artifactId}.jelly"/>
>       </j:new>
>
>       <!--
>       <echo>About to include ${file.toURL()}</echo>
>       -->
>
>       <j:include uri="${file.toURL().toString()}"/>
>     </j:file>
>   </goal>
>
> Any tips?
> -Mark Diggory
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

James
-------
http://radio.weblogs.com/0112098/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


JellyDoc Problems in Reactor

Posted by "Mark R. Diggory" <md...@latte.harvard.edu>.
 From what I can see, I'm getting the following error if I call the 
jellydoc goal from attainGoal or from the reactor.

+----------------------------------------
| Building BCEL Tag Library
| Memory: 11M/234M
+----------------------------------------
Attempting to download commons-jelly-SNAPSHOT.jar.
.......................
jellydoc:init:

jellydoc:doclet:
     [echo] Generating jellydoc for packages 
org.apache.commons.jelly.tags.bcel.*

     [echo] Source directory is 
C:\eclipse\workspace\repast-jelly-taglibrary\tagl
ibraries\bcel/src/java
     [javadoc] Generating Javadoc
     [javadoc] Javadoc execution
     [javadoc] Loading source files for package 
org.apache.commons.jelly.tags.bce
l...
     [javadoc] Constructing Javadoc information...
     [javadoc] processing package: org.apache.commons.jelly.tags.bcel
     [javadoc] processing tag: property
     [javadoc] processing tag: method
     [javadoc] processing tag: class
     [copy] Copying 1 file to 
C:\eclipse\workspace\repast-jelly-taglibrary\taglib
raries\bcel\target\generated-xdocs

BUILD FAILED
Unable to obtain goal [jellydoc] -- null:43:52: <j:include> could not 
include jelly script
Total time:  34 seconds

It appears its having problems locating 
${plugin.resources}/${plugin.artifactId}.jelly

in the following plugin.jelly fragment.

   <goal name="jellydoc" prereqs="jellydoc:doclet"
     description="Generates the tag documentation">

     <ant:mkdir dir="${genDocs}"/>

     <j:file name="${genDocs}/tags.xml">

       <!-- the following should be way easier - j:include should 
support files -->
       <j:new var="file" className="java.io.File">
         <j:arg value="${plugin.resources}/${plugin.artifactId}.jelly"/>
       </j:new>

       <!--
       <echo>About to include ${file.toURL()}</echo>
       -->

       <j:include uri="${file.toURL().toString()}"/>
     </j:file>
   </goal>

Any tips?
-Mark Diggory


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org