-
Feb 14th, 2011, 04:50 PM
#1
Conditional Logic around context element
I have been looking around and have not found much on conditional logic I can place into the context xml that would optionally add load-time-weaver.
For example, in WebSphere I want the line commented out
<!-- uncomment the following line to run in Tomcat locally
<context:load-time-weaver/>
-->
Yet, in Tomcat (i.e. our local development), I want the line active
<context:load-time-weaver/>
Is there a means to write something like
<if condition=${tomcatServer}>
<context:load-time-weaver/>
</if>
This is the ONLY line change in the entire config. Note: Please assume I would write something that would set the ${tomcatServer} variable
Any suggestions?
Kevin C
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules