Using External Jars with WOCompile and WOProject Patternsets?

From: Chuck Hill (chil..lobal-village.net)
Date: Tue Oct 31 2006 - 15:18:05 EST

  • Next message: Chuck Hill: "Re: Using External Jars with WOCompile and WOProject Patternsets?"

    Hi,

    I am trying to get a command line wocompile going in a project that
    references external Jars though classpath variables. When I add
    these to the project, I can see them reflected in the woproject
    pattern sets as follows:

    grep jass *
    ant.classpaths.wo.wolocalroot:Projects/GVCTools/WO5.2Eclipse/
    JassDistribution/jass-rt.jar
    ant.frameworks.wo.wolocalroot:Projects/GVCTools/WO5.2Eclipse/
    JassDistribution/jass-rt.jar

    The one in ant.frameworks.wo.wolocalroot seems wrong as this is not
    a .framework. In my wocompile task, I have

                    <frameworks root="${wo.wolocalroot}">
                        <patternset>
                            <includesfile name="woproject/
    ant.frameworks.wo.wolocalroot"/>
                        </patternset>
                    </frameworks>

    That works just fine for framework, but not for these external jars.
    Yes, I know I could add them to a framework, but I have reasons to
    not want to do that.

    I can't figure out how to use the ant.classpaths.wo.wolocalroot in
    the wocompile task. Does anyone know how to do this?

    Thanks
    Chuck

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Tue Oct 31 2006 - 15:18:15 EST