You could simply make all your comments JSP code... that won't get
rendered to the browser.
I actually do this in all my JSPs... For instance, I might have a
Javascript function like this:
<% // Add two numbers %>
function add(a, b) {
<% // Add a + b and put it in c %>
c = a + b;
I want to be able to have comments in my code for JSP, HTML, JavaScript, ect.,
but I don't want those comments to show up on the user's browser when they use
"View Source".
I recently found out (the hard way) that excessive use of comments ends up
slowing the response time for the pages. Our we
Hi. I'm building a handful of Struts webapps, and would like to do
this in my build scripts:
I want to specify a collection of .jar files from several different
directories, and I want to refer to the entire collection with a
single id. Now, I can make a fileset or filelist for a directory,
It is an interesting exercise... Tools.jar is required, if you want to
run in process, otherwise you can specify fork="true".../> and external compiler will be used (for example,
jikes). Another possibility is to compile tools.jar into native code
(not sure whether gcj can do it and maybe it is
--- Mark Lybarger <[EMAIL PROTECTED]> wrote:
> hyphens work quite well for target names. I would
> guess underscores will
> also work. one trick to having a target that you
> don't want to be called
> directly is to name it with double hyphens.
Actually one hyphen will do it also:
> for e
look at the and tasks (depending on
your OS; safe to use both if you need
cross-platform-ness).
HTH,
Matt
--- George Dibi <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is there any tag I can use to change my permissions
> from read only to
> read/write on all files and directories.
>
> Thanks
> Ge
Hello,
Is there any tag I can use to change my permissions from read only to
read/write on all files and directories.
Thanks
George
This e-mail transmission may contain information that is proprietary,
privileged and/or confidential and is intended exclusively for the person(s) to
whom it i
Hi,
when trying to compile ant from source using gcj 4.0 (no non-free JDKs
installed), hundreds of deprecation warnings and 2 fatal errors:
src/main/org/apache/tools/ant/IntrospectionHelper.java:495: error: No
constructor matching
'(org.apache.tools.ant.IntrospectionHelper,java.lang.Object,java
hyphens work quite well for target names. I would guess underscores will
also work. one trick to having a target that you don't want to be called
directly is to name it with double hyphens. for example:
i hadn't though about quoting the argument, but the shell doesn't like to
run :
ant -
Please indulge us by posting a snippet of your code. I would really
appreciate it. For the life of me, I still have not figured out what to
make of the cryptic Antcontrib documention written SO BADLY and ambiguously.
And the examples are very vague too. I apologize for that. I'm just very
f
Hi Group,
I'm very pleased to find the AntServer / RemoteAnt implementation in the
cobtrib package and I think it's impressively easy to use. One question:
Why does it always shut down the server after a single remoteAnt-task has been
run? I would like to run multiple remoteAnt-tasks. Moreover
Thanks guys for your support, its been a great help.
Peter, I was able to view my code and I had it right from the
begining. The main problem was, as you guessed, that the loaderref
attribute was missing.
I can now run ant FROM THE CONSOLE against my buildfile and it looks
much better.
On 6/9/0
Hi,
I will personally not use spaces, but I can remember a couple of times
where I have used dots (.) in my target names.
May be from the command line you may have to run your target like this:
ant -f "install server" (I have never tested this, but it
could work)
On 6/10/05, [EMAIL PROTECTED] <
[EMAIL PROTECTED] wrote:
Can ant be used to build non-java applications?
Absolutely.
A few years ago, I used Ant to build an entire suite of Delphi
applications - it was the core of our repeatable build process.
I forget the exact details, but a fair summary would be:
-- Start from a set
- Stop Anthill.
- Look in the /projects directory. There should be a file
called 'A&B
Project.anthill'. Rename that file (or you can just delete it). I
suggest not to use spaces either if you rename.
- Restart Anthill and you should be good.
You may also want to look at the /publishDir and als
Hi all,
I have a .jar application containing my custom ant Tasks
implementation. This works fine when I use it from the (linux)
console. Now my goal is to write a Servlet which enables me to select
a buildfile (with my custom tasks) and run it. My .jar is located in
the WEB-INF/lib but when the se
I checked in the list's archives and it appears this post has not been
delivered in my first attempt to post it, so I send it again.
my apologies for the inconvenience caused, if you receive it twice.
Eric
-- Forwarded message --
From: Eric Tchepannou <[EMAIL PROTECTED]>
Date: Jun
Hi,
finally i got it, simply putting the line
set ANT_ARGS=-lib c:\ant_extralibs
into ant_installdir/bin/ant.bat
Gilbert
-Original Message-
From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 12:14 PM
To: Ant Users List
Subject: RE: putting cmd args in an
Hi All,
I am new to ant build. My requirement is like this.
1. Once .ear is built I should be able to edit the
.xml file inside the
.ear.
I want to edit field for
all the ejbs in weblogic-ejb-jar.xml inside the .ear and deploy it.
Clearly
We are usi
19 matches
Mail list logo