Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Modifying appserver.home property in build.properties file NOT working

 
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am going through a spring tutorial and I'm trying to modify the appserver.home property with an absolute path value in the build.properties file so that it can find my tomcat server.

This is what I'm trying to change it to:



The original setting was appserver.home=${user.home}/server/apache-tomcat-7.0.25

The ${user.home} value is defined as: C:\Users\Melinda and because my server is not installed in this directory then I get the following error when I try to refresh my build file:

springapp C:\Users\Melinda\workspace\SpringTutorial\springapp\"C:\server\apache-tomcat-7.0.25"\lib does not exist.

I'm sure I'm doing something stupid.

Any help/direction would be appreciated.

Thank you.
 
Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry guys. I just found another post that resolved my issue. In the build.xml file the following classname is deprecated:

<taskdef name="install" classname="org.apache.catalina.ant.DeployTask">
<classpath refid="catalina-ant-classpath"/>
</taskdef>

The classname needed to be corrected to: "org.apache.catalina.ant.DeployTask"

Thanks anyway. Sorry for the post.
 
Bartender
Posts: 2658
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Melinda Savoy wrote:Sorry guys. I just found another post that resolved my issue. In the build.xml file the following classname is deprecated:

<taskdef name="install" classname="org.apache.catalina.ant.DeployTask">
<classpath refid="catalina-ant-classpath"/>
</taskdef>

The classname needed to be corrected to: "org.apache.catalina.ant.DeployTask"

Thanks anyway. Sorry for the post.



That is two times the same: org.apache.catalina.ant.DeployTask ?
 
Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, Jan. The initial post should have stated:

org.apache.catalina.ant.InstallTask and then correct with

org.apache.catalina.ant.DeployTask

My apologies for my confusing post. Regards.
 
I can't take it! You are too smart for me! Here is the tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic