Re: installing a framework + CLSSPATH.txt troubles

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Tue Jun 03 2003 - 03:31:47 EDT

  • Next message: Michele Rossi: "RE: installing a framework + CLSSPATH.txt troubles"

    Hi Michele,

    the only difference I see is the your next_root it points to d:/WO5.2.
    Could you try change this to D:/WO5.2 in your environment variables and
    wobuild.properties.

    Ulrich

    Am Montag, 02.06.03 um 16:38 Uhr schrieb Michele Rossi:

    > yes that was it !
    > problem 1 solved
    >  
    > thanks a lot
    >  Michele
    >
    >
    > -----Original Message-----
    > From: Watkins, Garry [mailto:gwatkin..otleyrice.com]
    > Sent: 02 June 2003 15:15
    > To: Michele Rossi
    > Subject: RE: installing a framework + CLSSPATH.txt troubles
    >
    > This happened to me before.  Make sure that when you run ant (right
    > click on build.xml) you only select one target in this case
    > "install."  Everything else should not be checked.
    >  
    >  
    > Garry Watkins
    >  
    > Programmer, Information Technology
    > Motley Rice LLC
    > 28 Bridgeside Blvd.
    > Mt. Pleasant, SC 29464
    > 843-216-9639
    > gwatkin..otleyrice.com
    >
    >
    > -----Original Message-----
    > From: Michele Rossi [mailto:michele.ross..bc.co.uk]
    > Sent: Monday, June 02, 2003 7:36 AM
    > To: Ulrich Köster
    > Cc: woproject-de..bjectstyle.org
    > Subject: RE: installing a framework + CLSSPATH.txt troubles
    >
    > Hi,
    > thanks for your quick reply,
    >  
    > I don't want to change the properties, I want to install my frameworks
    > under
    > $NEXT_ROOT/Local/Library/Frameworks, the default path, but it's not
    > happening.
    > It's installing the framework on ".", the project folder.
    >  
    > Of course I have not touched any of the default files (build.xml,
    > build.properties etc.).
    >  
    > Regarding the other point, I have tried what you suggest in the past
    > (you have already
    > replied to an email I sent a few weeks back) with no results.
    >  
    >  
    > I have also re-installed Eclipse and everything.. still it does not
    > produce those files
    > like ant.frameworks.wo.wolocalroot etc.
    >  
    >  
    > I'll keep trying to find out what's going wrong..
    > thanks,
    > Michele
    >
    >
    > -----Original Message-----
    > From: Ulrich Köster [mailto:ulric..bjectstyle.org]
    > Sent: 02 June 2003 12:24
    > To: Michele Rossi
    > Cc: woproject-de..bjectstyle.org
    > Subject: Re: installing a framework + CLSSPATH.txt troubles
    >
    > Hi,
    >
    >
    > you can not change properties. This is default ant behavior.
    >
    >
    > Take a look at this target:
    >
    > <!-- property determination -->
    >
    >         <target name="setProps">
    >
    >                 <property file="build.properties"/>
    >
    >                 <property
    > file="${user.home}${file.separator}Library${file.separator}wobuild.prop
    > erties"/>
    >
    >                 <condition property="wo.properties.check.failed">
    >
    >                         <not>
    >
    >                     <and>
    >
    >                           <isset property="wo.wosystemroot"/>
    >
    >                           <isset property="wo.wolocalroot"/>
    >
    >                     </and>
    >
    >             </not>
    >
    >               </condition>
    >
    >               <fail message="Could not find
    > ${user.home}${file.separator}Library${file.separator}wobuild.properties
    > ." if="wo.properties.check.failed"/>
    >
    >                 <property name="install.dir"
    > value="${wo.wolocalroot}/Library/Frameworks"/>
    >
    >         </target>
    >
    >
    > To change the $woframework.name open the build.properties and change
    > it to whatever you want.
    >
    > To change the installdir:
    >
    > Instead of
    >
    > <property name="install.dir"
    > value="${wo.wolocalroot}/Library/Frameworks"/>
    >
    > this
    >
    > <property name="install.dir"
    > value="${wo.wolocalroot}/Library/MyFrameworks"/>
    >
    > or
    >
    > <property name="install.dir" value="C:\Foo"/>
    >
    > or remove the line if the install.dir is defined in a properties file.
    >
    >
    > Please let me know if keed further assistance with it.
    >
    >
    >
    > About your second problem.
    >
    >
    > Could you try this.
    >
    > Open Eclipse.
    >
    > Window->Preferences->WOLips and select 'Rebuild wobuild.properties on
    > next launch' and click on Ok.
    >
    > Quit Eclipse.
    >
    > Rename your workspace to workspace.old.
    >
    > Rename your wobuild.properties to wobuild.properties.old.
    >
    > Relaunch Eclipse.
    >
    > Create a new Application and check if the classpath is still incorrect.
    >
    >
    > The next steps depends on the result from the steps above.
    >
    >
    > Ulrich
    >
    >
    > Your OS/Java/Ant combination should not be the problem.
    >
    >
    > Am Montag, 02.06.03 um 12:27 Uhr schrieb Michele Rossi:
    >
    >
    > Hi all,
    >
    > I am having the following two problems with WOLips:
    >
    >
    > --------------
    >
    > Problem 1: when I try to install a framework, the install destination
    > remains ".", and the location specified in wobuild.properties is
    > ignored.
    >
    >
    > This an extract from the Ant console output (see attachment for full
    > console dump)
    >
    > <<ant.output.install_framework.txt>>
    >
    > setProps:
    >
    >     [property] Loading
    > D:\eclipse\workspace\MyFramework\build.properties
    >
    > Override ignored for property framework.name
    >
    > Override ignored for property classes.dir
    >
    >     [property] Loading C:\Documents and
    > Settings\RossiM\Library\wobuild.properties
    >
    > Override ignored for property wo.dir.root
    >
    > Override ignored for property wo.woroot
    >
    >
    >
    > Why is Ant "ignoring the override"?
    >
    >
    > Is anyone experiencing the same?
    >
    >
    >
    >
    >
    > ---------------
    >
    > Problem 2: when I add a local framework to my woapp, the corresponding
    > entry is not added to my CLSSPATH.txt nor to UNIXClassPath.txt.
    >
    >
    > Ant is not making "include" files such as
    >
    >
    > [woapplication] Copying D:\eclipse\workspace\MyProject\Properties to
    > D:\eclipse\workspace\MyProject\MyProject.woa\Contents\Resources\Propert
    > ies
    >
    >
    > [woapplication] Includesfile
    > D:\eclipse\workspace\MyProject\ant.frameworks.wo.wosystemroot not
    > found.
    >
    > [woapplication] Includesfile
    > D:\eclipse\workspace\MyProject\ant.frameworks.wo.wolocalroot not > found.
    >
    > [woapplication] Includesfile
    > D:\eclipse\workspace\MyProject\ant.frameworks.user.home not found.
    >
    > [woapplication] Includesfile
    > D:\eclipse\workspace\MyProject\ant.classpaths.wo.wosystemroot not
    > found.
    >
    >
    > again, see the other attachment for the full console dump.
    >
    >
    > <<ant_output_build_woapp.txt>>
    >
    >
    > I am running Eclipse Version: 2.1.0 - Build id: 200305280800 and
    > WOLips 1.0.1. on Windows XP, Java 1.4.1_02-b06.
    >
    >
    > I have tried with various versions of eclipse and WOLips. No
    > difference.
    >
    >
    > Someone says it could be to do with running XP but I find it hard to
    > believe as Ant is a pure java application, right?
    >
    >
    > any help/opinion would be greatly appreciated.
    >
    >
    > thanks a lot
    >
    >  Michele
    >
    >
    >
    >
    >
    > BBCi at http://www.bbc.co.uk/
    >
    >
    > This e-mail (and any attachments) is confidential and may contain
    >
    > personal views which are not the views of the BBC unless specifically
    >
    > stated.
    >
    > If you have received it in error, please delete it from your system, do
    >
    > not use, copy or disclose the information in any way nor act in
    >
    > reliance on it and notify the sender immediately. Please note that the
    >
    > BBC monitors e-mails sent or received. Further communication will
    >
    > signify your consent to this.
    >
    > <ant.output.install_framework.txt><ant_output_build_woapp.txt>
    >
    >
    >
    > BBCi at http://www.bbc.co.uk/
    >
    > This e-mail (and any attachments) is confidential and may contain
    > personal views which are not the views of the BBC unless specifically
    > stated.
    > If you have received it in error, please delete it from your system, do
    > not use, copy or disclose the information in any way nor act in
    > reliance on it and notify the sender immediately. Please note that the
    > BBC monitors e-mails sent or received. Further communication will
    > signify your consent to this.
    >
    >  
    >
    > Confidential & Privileged
    >
    > Unless otherwise indicated or obvious from its nature, the information
    > contained in this communication is attorney-client privileged and
    > confidential information/work product. This communication is intended
    > for the use of the individual or entity named above.  If the reader of
    > this communication is not the intended recipient, you are hereby
    > notified that any dissemination, distribution or copying of this
    > communication is strictly prohibited.  If you have received this
    > communication in error or are not sure whether it is privileged,
    > please immediately notify us by return e-mail and destroy any
    > copies--electronic, paper or otherwise--which you may have of this
    > communication.
    >
    >
    >
    > BBCi at http://www.bbc.co.uk/
    >
    > This e-mail (and any attachments) is confidential and may contain
    > personal views which are not the views of the BBC unless specifically
    > stated.
    > If you have received it in error, please delete it from your system, do
    > not use, copy or disclose the information in any way nor act in
    > reliance on it and notify the sender immediately. Please note that the
    > BBC monitors e-mails sent or received. Further communication will
    > signify your consent to this.



    This archive was generated by hypermail 2.0.0 : Tue Jun 03 2003 - 03:30:41 EDT