WOProject referenced frameworks

From: Jonathan 'Wolf' Rentzsch (webobject..edshed.net)
Date: Fri May 30 2003 - 01:15:13 EDT

  • Next message: Ulrich Köster: "Re: [OFF TOPIC] Moving Views in Eclipse"

    Greetings all,

    OK, I have WOProject pretty much working like I want it to, using
    reference ids to share framework declarations between WOCompile,
    WOApplication and PBIndex. Here's an example:

    <typedef name="frameworks"
    classname="org.objectstyle.woproject.ant.FrameworkSet"/>
    <frameworks root="/System/Library/Frameworks" id="standard.frameworks">
      <include name="JavaFoundation.framework"/>
      <include name="JavaEOControl.framework"/>
      <include name="JavaEOAccess.framework"/>
      <include name="JavaWebObjects.framework"/>
      <include name="JavaWOExtensions.framework"/>
      <include name="JavaXML.framework"/>
      <include name="JavaJDBCAdaptor.framework"/>
    </frameworks>
    <frameworks root=".." id="developer.frameworks" embed="true">
      <include
    name="WOFrameworkInitializer/out/WOFrameworkInitializer.framework"/>
      <include name="Seppuku/out/Seppuku.framework"/>
    </frameworks>

    <wocompile srcdir="${src}" destdir="${build}" debug="on">
      <frameworks refid="standard.frameworks"/>
      <frameworks refid="developer.frameworks"/>
    </wocompile>

    <woapp name="${woaName}" destdir="${out}">
      <frameworks refid="standard.frameworks"/>
      <frameworks refid="developer.frameworks"/>
      ...
    </woapp>

    <pbindex name="Spike">
      <frameworks refid="developer.frameworks"/>
      ...
    </pbindex>

    It required changes to FrameworkSet (support referenced embedded
    frameworks) and PBIndex (support <frameworks> child). Would you care for
    my code changes?

    .......................................................
    Jonathan 'Wolf' Rentzsch http://rentzsch.com
    Red Shed Software http://redshed.net (847) 584-7465
    PGP: b2af 1a09 f881 ebde c9d6 c4d2 c04f a3c0 3ec5 d5f2

             "better" necessarily means "different"



    This archive was generated by hypermail 2.0.0 : Fri May 30 2003 - 01:13:54 EDT