Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » JWSDP Tutorial - build.properties
JWSDP Tutorial - build.properties [message #20781] Wed, 28 April 2004 23:13 Go to next message
Eclipse UserFriend
Originally posted by: frankmans.hotmail.com

I have encountered another problem with using the JWSDP tutorial with
eclipse. When running Ant from Eclipse, a properties file included in the
Build.xml file cannot reference a property declared previously within the
build.xml file. For example:

<property name="example" value="hello1" />
<property file="../../common/build.properties"/>
<property file="../common/build.properties"/>

Any properties in the build.properties files cannot access the ${example}
property declared previous to the property file declarations. Hence, my
ant tasks treat ${example} as a literal string and the package task in my
build file creates a war file literally named '${example}.war'

Is this problem:

1. An Ant issue. Properties files cannot reference properties external to
the file.

or

2. An eclipse issue. The ant runtime within eclipse cannot handle this
type of behavior.

or

3. An eclipse configuration issue. Something is amis in my eclipse Ant
runtime settings.

or

4. A JWDP issue. Sun's tutorial is simply configured in such a way, that
it will not easily work within Eclipse.

????
Re: JWSDP Tutorial - build.properties [message #20809 is a reply to message #20781] Thu, 29 April 2004 03:19 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.rohe.stud.tu-ilmenau.de

I had the same problem. I figured out that the ${example} property matches
the package name of the example, so JWSDP creates the package by hand and
copies the source files into it. So I think this isn't a good way to build
web services. I've tried to create a build file which handles packages
correct but I have too much to do in the next week. Maybe I can sent you the
current build file and you have to enhance it.

greetings
Daniel

"James Frankman" <frankmans@hotmail.com> schrieb im Newsbeitrag
news:c6prtg$pnk$1@eclipse.org...
> I have encountered another problem with using the JWSDP tutorial with
> eclipse. When running Ant from Eclipse, a properties file included in the
> Build.xml file cannot reference a property declared previously within the
> build.xml file. For example:
>
> <property name="example" value="hello1" />
> <property file="../../common/build.properties"/>
> <property file="../common/build.properties"/>
>
> Any properties in the build.properties files cannot access the ${example}
> property declared previous to the property file declarations. Hence, my
> ant tasks treat ${example} as a literal string and the package task in my
> build file creates a war file literally named '${example}.war'
>
> Is this problem:
>
> 1. An Ant issue. Properties files cannot reference properties external to
> the file.
>
> or
>
> 2. An eclipse issue. The ant runtime within eclipse cannot handle this
> type of behavior.
>
> or
>
> 3. An eclipse configuration issue. Something is amis in my eclipse Ant
> runtime settings.
>
> or
>
> 4. A JWDP issue. Sun's tutorial is simply configured in such a way, that
> it will not easily work within Eclipse.
>
> ????
>
Previous Topic:And what about Portlet ?
Next Topic:xdoclet
Goto Forum:
  


Current Time: Mon Apr 28 03:30:13 EDT 2025

Powered by FUDForum. Page generated in 0.02887 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top