You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brian Topping <to...@bill2.com> on 2004/01/09 22:08:34 UTC

Simple properties question...

Hi, just getting started with Maven...

I believe this problem comes from not understanding Jelly, but I've searched
around (even in trying to understand the JellyContext that is put together)
and can't find much yet.  "Source as documentation" can be slow going :-)

I have a project.properties that defines:

     maven.pooh-tool.home = C:/dev/pooh-tool

and my maven.xml has:

    <preGoal name="java:compile">
        <taskdef name="pooh" classname="pooh.Tool"   
               classpathref="maven.dependency.classpath"/>
        <pooh basedir="${basedir}" 
          typeMappings="${maven.pooh-tool.home}/TypeMapping.xml">
         ...
        </pooh >
    </preGoal>

Inside poohTool, the value of typeMappings is
"<basedir-expanded>/0/TypeMapping.xml".  

Do I need to set maven.pooh-tool.home to be a Jelly var?  Can the properties
files be used?  (If not, I guess there is a question what they are good for,
so they must be usable...)  

Thanks, any help appreciated!

Brian

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