Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] command line build

George,
 
I assume you're running the build from the command line with no target (like war or jar).  Doing so not only requires you to have eclipse installed, but also to run it like this:
ant -DECLIPSE_HOME=<path to eclipse installation>
 
The problem is that the build.xml file is generated from eclipse and it uses the path to the eclipse install from whatever machine was used to generate it.
 
Jim

>>> "George Stanchev" <Gstanchev@xxxxxxxxxx> 3/5/07 12:42 PM >>>
Hi,

Right now, if one updates from CVS and tries the command line build.xml
for some of the higgins
projects, the build fails. This is due the fact that it looks for
eclipse in a hardcoded
location:

  <property name="ECLIPSE_HOME" value="../../../../eclipse"/>

Can I suggest the eclipse's home is defined using an environment
variable may be -
ECLIPSE_HOME which is used to specify the location for eclipse. This way
I don't have
to update the build.xml each time I do a full sync. I see that
environment variable is
declared,

    <property environment="env"/>

it is just not used.

George


**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev

Back to the top