ant problem

2003-01-24 Thread Lam

hi

i have a little problem with ant task
i try this :


   ... 
   


...



  

  

  



...



  

 

  

  
  

  

  


ant javadoc is ok
but if i replace in javadoc task 

destdir="doc/javadoc" 

by 

destdir="${doc}/javadoc" , with   in
init target, i can't make javadoc ! 

it is the same problem with jcsc task
i have a problem with variable

could you help me ?


-- 
Lam

"Un autre jour en France, des prières pour l'audience, et quelques
fascisants autour de 15%, Charly défend moi !" (Noir Désir)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




tomcats rc level

2003-01-24 Thread Caoilte O'Connor
I don't know a lot about this so I'm not posting a bug, but should tomcat4 
really try and shutdown after postgresql.

It makes it impossible for my webapps to close their db connections cleanly 
and the process ends up getting killed.

What are the prospects for switching the order in which the two services get 
shutdown? 



caoilte


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ant problem

2003-01-24 Thread Anders Hermansen
* Lam ([EMAIL PROTECTED]) wrote:
> i have a little problem with ant task
> i try this :
> 
> 
>... 
>
> 

Try to put the  elements directly in the project element
instead of in the init target.

Check very carfully that a property is set only once.


The doc property will still have a value of foo.

This is really off-topic for debian-java. For further information please
see http://ant.apache.org/


Thanks,
Anders

--
Anders Hermansen
YoYo Mobile as


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ant problem

2003-01-24 Thread Arnaud Vandyck
 ___
/ Lam <[EMAIL PROTECTED]> wrote:
| 
|... 
|
| 

It's better if you define a property out-side of any target and in
your case, prefer «location» instead of the «value» argument.

| it is the same problem with jcsc task
| i have a problem with variable

Quote from the Ant-Manual:

  «Properties are immutable: whoever sets a property first freezes
  it for the rest of the build; they are most definately not
  variable.»

| could you help me ?

You'd better subscribe[1] to the ant-list[2]... or check the
archives[3].

Hope these helps...

[1] mailto:[EMAIL PROTECTED]
[2] mailto:[EMAIL PROTECTED]
[3] 
http://archives.apache.org/eyebrowse/SummarizeList?[EMAIL PROTECTED]

-- Arnaud Vandyck




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ant problem

2003-01-24 Thread Andreas Schmitz
Lam wrote:

> hi

> i have a little problem with ant task
> i try this :

> 
>... 
>
> 

> ...

> 

Add dependancy to init here.

>   destdir="doc/javadoc" author="true" version="true" access="private"
>  windowtitle="${version}" doctitle="${version}" 
>  bottom="Copyright © All Rights Reserved." >
>   
>   
> 
> 
>   
> 
> 

> ...

> 

Add depends="init" here.

> 
>   
> 
>  
> 
>   

>   
>   
> 
>   
> 
>   


> ant javadoc is ok
> but if i replace in javadoc task 

> destdir="doc/javadoc" 

> by 

> destdir="${doc}/javadoc" , with   in
> init target, i can't make javadoc ! 

See above, you should depend on the init target.

Regards, Andreas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




ant problem

2003-01-24 Thread Lam

hi

i have a little problem with ant task
i try this :


   ... 
   


...



  

  

  



...



  

 

  

  
  

  

  


ant javadoc is ok
but if i replace in javadoc task 

destdir="doc/javadoc" 

by 

destdir="${doc}/javadoc" , with   in
init target, i can't make javadoc ! 

it is the same problem with jcsc task
i have a problem with variable

could you help me ?


-- 
Lam

"Un autre jour en France, des prières pour l'audience, et quelques
fascisants autour de 15%, Charly défend moi !" (Noir Désir)




tomcats rc level

2003-01-24 Thread Caoilte O'Connor
I don't know a lot about this so I'm not posting a bug, but should tomcat4 
really try and shutdown after postgresql.

It makes it impossible for my webapps to close their db connections cleanly 
and the process ends up getting killed.

What are the prospects for switching the order in which the two services get 
shutdown? 



caoilte




Re: ant problem

2003-01-24 Thread Anders Hermansen
* Lam ([EMAIL PROTECTED]) wrote:
> i have a little problem with ant task
> i try this :
> 
> 
>... 
>
> 

Try to put the  elements directly in the project element
instead of in the init target.

Check very carfully that a property is set only once.


The doc property will still have a value of foo.

This is really off-topic for debian-java. For further information please
see http://ant.apache.org/


Thanks,
Anders

--
Anders Hermansen
YoYo Mobile as




Re: ant problem

2003-01-24 Thread Arnaud Vandyck
 ___
/ Lam <[EMAIL PROTECTED]> wrote:
| 
|... 
|
| 

It's better if you define a property out-side of any target and in
your case, prefer «location» instead of the «value» argument.

| it is the same problem with jcsc task
| i have a problem with variable

Quote from the Ant-Manual:

  «Properties are immutable: whoever sets a property first freezes
  it for the rest of the build; they are most definately not
  variable.»

| could you help me ?

You'd better subscribe[1] to the ant-list[2]... or check the
archives[3].

Hope these helps...

[1] mailto:[EMAIL PROTECTED]
[2] mailto:ant-user@jakarta.apache.org
[3] http://archives.apache.org/eyebrowse/[EMAIL PROTECTED]

-- Arnaud Vandyck






Re: ant problem

2003-01-24 Thread Andreas Schmitz
Lam wrote:

> hi

> i have a little problem with ant task
> i try this :

> 
>... 
>
> 

> ...

> 

Add dependancy to init here.

>   destdir="doc/javadoc" author="true" version="true" access="private"
>  windowtitle="${version}" doctitle="${version}" 
>  bottom="Copyright © All Rights Reserved." >
>   
>   
> 
> 
>   
> 
> 

> ...

> 

Add depends="init" here.

> 
>   
> 
>  
> 
>   

>   
>   
>  worstcount="20">
>   
> 
>   


> ant javadoc is ok
> but if i replace in javadoc task 

> destdir="doc/javadoc" 

> by 

> destdir="${doc}/javadoc" , with   in
> init target, i can't make javadoc ! 

See above, you should depend on the init target.

Regards, Andreas