Re: [Fwd: r3886 - trunk/woproject/woproject-ant-tasks/src/java/org/objectstyle/woproject/ant] Break packaging

From: Paul Yu (py..ac.com)
Date: Tue Mar 13 2007 - 14:27:07 EDT

  • Next message: Alan Zebchuk (JIRA): "[OS-JIRA] Created: (WOL-392) [Entity Modeler] No Column Name warning shouldn't appear for Derived Attributes"

    Benoit

    Which classpath file are you referencing?

    Paul
    On Mar 13, 2007, at 11:21 AM, Benoit Cantin wrote:

    > This release seems to break ant Wo Application packaging. Embedded
    > frameworks are now copied in application root folder (in
    > yourapp.woa) while classpath still references frameworks in folder
    > yourapp.woa/Frameworks. Does anybody have the same problems ?
    >
    > --
    > Benoit Cantin
    >
    > From: anj..bjectstyle.org
    > Date: March 8, 2007 4:39:12 AM EST
    > To: woproject-commit..bjectstyle.org
    > Subject: r3886 - trunk/woproject/woproject-ant-tasks/src/java/org/
    > objectstyle/woproject/ant
    > Reply-To: woproject-de..bjectstyle.org
    >
    >
    > Author: anjo
    > Date: 2007-03-08 04:39:07 -0500 (Thu, 08 Mar 2007)
    > New Revision: 3886
    >
    > Modified:
    > trunk/woproject/woproject-ant-tasks/src/java/org/objectstyle/
    > woproject/ant/FrameworkSet.java
    > Log:
    > now also references frameworks from the top level
    >
    > Modified: trunk/woproject/woproject-ant-tasks/src/java/org/
    > objectstyle/woproject/ant/FrameworkSet.java
    > ===================================================================
    > --- trunk/woproject/woproject-ant-tasks/src/java/org/objectstyle/
    > woproject/ant/FrameworkSet.java 2007-03-06 09:26:05 UTC (rev 3885)
    > +++ trunk/woproject/woproject-ant-tasks/src/java/org/objectstyle/
    > woproject/ant/FrameworkSet.java 2007-03-08 09:39:07 UTC (rev 3886)
    >.. -251,9 +251,9 @@
    > String prefix = frameworkSet.getDir(project).getAbsolutePath();
    > prefix = variables.encodePath(prefix);
    > if(frameworkSet.hasBundles()) {
    > - encodedPath = encodedPath.replaceFirst(".*?(\\w
    > +.framework)", "APPROOT/Frameworks/$1");
    > + encodedPath = encodedPath.replaceFirst(".*?(\\w
    > +.framework)", "APPROOT/$1");
    > } else {
    > - encodedPath = encodedPath.replaceFirst(prefix, "APPROOT/
    > Frameworks/");
    > + encodedPath = encodedPath.replaceFirst(prefix, "APPROOT/");
    > }
    > }
    > frameworkSet.log(": Framework JAR " + encodedPath,
    > Project.MSG_VERBOSE);
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Mar 13 2007 - 14:27:33 EDT