hi erik.
got it working. thank you very much again.
have an awesome weekend! :)
At 14:41 03/01/10 -0500, you wrote:
On Friday, January 10, 2003, at 02:12 PM, tek1 wrote:
when i want to use this new logging class, then am i correct to assume
that upon each ant execution, i need to
is there any way to tell ant to display the project name before target name
in the output?
normally, ant displays as follows (while running):
init:
clean:
build:
but is there a way to make it print project-name.target-name as follows
(where project-name=myprj)?
myprj.init:
myprj.clean
You could write a custom BuildLogger implementation that would do this,
no problem. Would be fairly easy. Have a look at the DefaultLogger
built into Ant for inspiration.
Erik
On Friday, January 10, 2003, at 12:46 PM, tek1 wrote:
is there any way to tell ant to display the project name
thank you for your reply erik.
it looks fairly straight-forward to create a new logger class (i.e.
NewLogger) that extends DefaultLogger and overrides the
targetStarted(BuildEvent event) method as follows:
public void targetStarted(BuildEvent event) {
if (Project.MSG_INFO =
On Friday, January 10, 2003, at 02:12 PM, tek1 wrote:
when i want to use this new logging class, then am i correct to assume
that upon each ant execution, i need to specify it as follows?
ant -logger NewLogger target
Yes, you need to specify the logger on every ant invocation,
To: [EMAIL PROTECTED]
Subject: reference on project name
Hi,
is there a chance to reference to a projectname project
name=foo inside the buildfile?
Meaning i dont want to code an extra property app.name, but use
the project attribute instead
inside my build file.
--
To unsubscribe, e-mail
: Robert Worth/CHASE@CHASE
Subject: RE: [junit] What is the property for the project name?
Robert Worth wrote:
How do I do this? What should I put instead of
${project.name} ? Sorry if
this is in the docs, I have scoured them but can't find the
answer. (I know
that if you put ${basedir
Robert Worth wrote:
How do I do this? What should I put instead of
${project.name} ? Sorry if
this is in the docs, I have scoured them but can't find the
answer. (I know
that if you put ${basedir} it give what you want.
project name=myproject default=echoprojectname basedir
I've found postings in the archive about accessing the project name within a script,
and about setting the project name dynamically using include files. But is there a
way to set the project name to a variable passed in from the command line?
Kyle
--- Kyle Adams [EMAIL PROTECTED] wrote:
I've found postings in the archive about accessing the project name
within a script, and about setting the project name dynamically using
include files. But is there a way to set the project name to a variable
passed in from the command line?
Looks
Hello,
I didn't find this in the archive but is there a way to pull out the
project name?
echo message=${project.name} / doesn't seem to cut the mustard.
Just curious,
/bill
At 04:03 4/5/01 -0500, [EMAIL PROTECTED] wrote:
Hello,
I didn't find this in the archive but is there a way to pull out the
project name?
echo message=${project.name} / doesn't seem to cut the mustard.
I think it is ant.project.name ;)
Cheers,
Pete
Title: project name
Can you reference the project name as a property in Ant?
project name=abc default=all
..
// get 'abc.properties' ?
property file=${???}.properties/
...
/project
Thanks in advance.
name
Can you reference the project name as a property in Ant?
project name="abc" default="all"
..
// get 'abc.properties' ?
property file="${???}.properties"/
...
/project
Thanks in advance.
This didn't work for me. What version are you using?
-Original Message-
From: Nico Seessle [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 5:38 PM
To: [EMAIL PROTECTED]
Subject: Re: Project name
- Original Message -
From: "Jeff Davies" [EMAIL
- Original Message -
From: "Dennis Brake" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 22, 2000 2:01 PM
Subject: RE: Project name
This didn't work for me. What version are you using?
Maybe this way added after the 1.2-release. You might try one of the nigh
I would like to use the project name in some of my tasks (e.g. as the
name of a jar file)
For example,
project name="Neo" default="compile" basedir="."
property name="project.name"value="Neo"/
property name="project.out
17 matches
Mail list logo