RE: [nant-dev] get-assembly-direcotry() function

2004-05-21 Thread Giuseppe Greco
May be the problem is related to the fact that
I've installed the mono stuff under /usr/local
instead of /usr...

Usually I install unstable or under development
software in the /usr/local directory...

j3d.

On Fri, 2004-05-21 at 07:36, Clayton Harbour wrote:
 Hi,
 
 I get /usr/lib/mono/1.0 on my Fedora Core 1 install with NAnt rebuilt this morning.  
 There was some oddness with the install as the config file contained a reference to 
 a tasks folder but the task binaries were not built in a task folder.  Maybe I 
 caught something in mid-checkin?  Anyway, it seems to work on this install.
 
 
 Cheers,
 
 
 Clayton
 
 
 -Original Message-
 From: Gert Driesen [mailto:[EMAIL PROTECTED]
 Sent: Thu 5/20/2004 6:39 PM
 To:   Giuseppe Greco
 Cc:   Jaroslaw Kowalski; NAnt Developers
 Subject:  Re: [nant-dev] get-assembly-direcotry() function
 
 
 - Original Message - 
 From: Giuseppe Greco [EMAIL PROTECTED]
 To: Gert Driesen [EMAIL PROTECTED]
 Cc: Jaroslaw Kowalski [EMAIL PROTECTED]; NAnt Developers
 [EMAIL PROTECTED]
 Sent: Thursday, May 20, 2004 11:23 PM
 Subject: Re: [nant-dev] get-assembly-direcotry() function
 
 
   Giuseppe, can you indeed confirm that get-assembly-directory() just
 returned
   1.0 ?
 
  Yes, I do (of course, on Linux).
  I've inserted the following task in one of my project files:
 
  echo
message=${framework::get-assembly-directory(target.framework)}
  /
 
  ... and the result is 1.0.
 
 Can anyone else reproduce this issue ?  (I still have to reload my gentoo
 image ... I installed the latest longhorn on my linux box .. shame on me ...
 blush :))
 
 Gert
 
 
 
 ---
 This SF.Net email is sponsored by: Oracle 10g
 Get certified on the hottest thing ever to hit the market... Oracle 10g. 
 Take an Oracle 10g class now, and we'll give you the exam FREE.
 http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers
 
 
-- 

Giuseppe Greco

::agamura::

phone:  +41 91 604 67 65
mobile: +41 76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com




---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] get-assembly-direcotry() function

2004-05-21 Thread Ian MacLean
Hi Clayton,
Do you have the lastest mono built from cvs ? I'm getting the same 
result as Guis. I'm also on Fedora 1. I don't have mono installed to 
/usr but I think its unlikly thats the cause. I'll investigate soem more.
Ian

Clayton Harbour wrote:
Hi,
I get /usr/lib/mono/1.0 on my Fedora Core 1 install with NAnt rebuilt this morning.  There was 
some oddness with the install as the config file contained a reference to a tasks 
folder but the task binaries were not built in a task folder.  Maybe I caught something in 
mid-checkin?  Anyway, it seems to work on this install.
Cheers,
Clayton
-Original Message-
From:   Gert Driesen [mailto:[EMAIL PROTECTED]
Sent:   Thu 5/20/2004 6:39 PM
To: Giuseppe Greco
Cc: Jaroslaw Kowalski; NAnt Developers
Subject:Re: [nant-dev] get-assembly-direcotry() function
- Original Message - 
From: Giuseppe Greco [EMAIL PROTECTED]
To: Gert Driesen [EMAIL PROTECTED]
Cc: Jaroslaw Kowalski [EMAIL PROTECTED]; NAnt Developers
[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 11:23 PM
Subject: Re: [nant-dev] get-assembly-direcotry() function

 

Giuseppe, can you indeed confirm that get-assembly-directory() just
 

returned
 

1.0 ?
 

Yes, I do (of course, on Linux).
I've inserted the following task in one of my project files:
echo
 message=${framework::get-assembly-directory(target.framework)}
/
... and the result is 1.0.
   

Can anyone else reproduce this issue ?  (I still have to reload my gentoo
image ... I installed the latest longhorn on my linux box .. shame on me ...
blush :))
Gert

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


 


--
Ian MacLean, Developer, 
ActiveState, a division of Sophos
http://www.ActiveState.com


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


RE: [nant-dev] get-assembly-direcotry() function

2004-05-21 Thread Clayton Harbour
Hi,

No I am running rpms from the beta 1 release.  This is probably a silly
question but what is the value of your framework directory setting in
NAnt.exe.config?  If there is a leading slash Path.Combine might be
taking that as a root path.


Clayton

 -Original Message-
 From: Ian MacLean [mailto:[EMAIL PROTECTED] 
 Sent: May 21, 2004 5:32 AM
 To: Clayton Harbour
 Cc: Gert Driesen; Giuseppe Greco; Jaroslaw Kowalski; NAnt Developers
 Subject: Re: [nant-dev] get-assembly-direcotry() function
 
 
 Hi Clayton,
 Do you have the lastest mono built from cvs ? I'm getting the same 
 result as Guis. I'm also on Fedora 1. I don't have mono installed to 
 /usr but I think its unlikly thats the cause. I'll 
 investigate soem more. Ian
 
 
 Clayton Harbour wrote:
 
 Hi,
 
 I get /usr/lib/mono/1.0 on my Fedora Core 1 install with 
 NAnt rebuilt 
 this morning.  There was some oddness with the install as the config 
 file contained a reference to a tasks folder but the task binaries 
 were not built in a task folder.  Maybe I caught something in 
 mid-checkin?  Anyway, it seems to work on this install.
 
 
 Cheers,
 
 
 Clayton
 
 
 -Original Message-
 From:Gert Driesen [mailto:[EMAIL PROTECTED]
 Sent:Thu 5/20/2004 6:39 PM
 To:  Giuseppe Greco
 Cc:  Jaroslaw Kowalski; NAnt Developers
 Subject: Re: [nant-dev] get-assembly-direcotry() function
 
 
 - Original Message -
 From: Giuseppe Greco [EMAIL PROTECTED]
 To: Gert Driesen [EMAIL PROTECTED]
 Cc: Jaroslaw Kowalski [EMAIL PROTECTED]; NAnt Developers
 [EMAIL PROTECTED]
 Sent: Thursday, May 20, 2004 11:23 PM
 Subject: Re: [nant-dev] get-assembly-direcotry() function
 
 
   
 
 Giuseppe, can you indeed confirm that get-assembly-directory() just
   
 
 returned
   
 
 1.0 ?
   
 
 Yes, I do (of course, on Linux).
 I've inserted the following task in one of my project files:
 
 echo
   message=${framework::get-assembly-directory(target.framework)}
 /
 
 ... and the result is 1.0.
 
 
 
 Can anyone else reproduce this issue ?  (I still have to reload my 
 gentoo image ... I installed the latest longhorn on my linux box .. 
 shame on me ... blush :))
 
 Gert
 
 
 
 ---
 This SF.Net email is sponsored by: Oracle 10g
 Get certified on the hottest thing ever to hit the market... Oracle 
 10g.
 Take an Oracle 10g class now, and we'll give you the exam FREE.
 http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers
 
 
 
 
   
 
 
 
 -- 
 Ian MacLean, Developer, 
 ActiveState, a division of Sophos
 http://www.ActiveState.com
 
 


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149alloc_id66op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Solution task on Linux?

2004-05-21 Thread Clayton Harbour
Hi,

I was just curious if anyone has looked closely at what it would take to get the 
solution task running on Linux/ mono?  I would like to help out with that but am not 
sure where to start and what is being done.


Cheers,


Clayton


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149alloc_id?66op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] get-assembly-direcotry() function

2004-05-21 Thread Ian MacLean
no leading slash. my NAnt.exe.config is unchanged from the cvs version. 
I think there could be a problem with the config file reading code because:

the following test .build
 property name=target.framework 
value=${framework::get-target-framework()} /
 property name=prefix value=${pkg-config::get-variable('mono', 
'prefix')} /
  
 echo message= mono prefix is  ${pkg-config::get-variable('mono', 
'prefix')}/
 echo message= combined value is  ${path::combine(prefix, 
'lib/mono/1.0')}/
   
 echo message=${framework::get-assembly-directory(target.framework)} /
 echo message=${framework::get-framework-directory(target.framework)} /
 echo message=${framework::get-sdk-directory(target.framework)} /
 echo message=${framework::get-target-framework()} /

produces the following output:
[echo] mono prefix is /home/ianm/usr/local
[echo] combined value is /home/ianm/usr/local/lib/mono/1.0
[echo] 1.0
[echo] bin
[echo] bin
[echo] mono-1.0
${pkg-config::get-variable('mono', 'prefix')} is whats used in the config file to 
produce the assembly directory value. In the build file it produces the correct output 
but its not right when coming from the config file. Unless theres an issue with 
framework::get-assembly-directory impl. I'll do somw debuggin tomorrow and see what I 
can find.
Ian

Clayton Harbour wrote:
Hi,
No I am running rpms from the beta 1 release.  This is probably a silly
question but what is the value of your framework directory setting in
NAnt.exe.config?  If there is a leading slash Path.Combine might be
taking that as a root path.
Clayton
 

-Original Message-
From: Ian MacLean [mailto:[EMAIL PROTECTED] 
Sent: May 21, 2004 5:32 AM
To: Clayton Harbour
Cc: Gert Driesen; Giuseppe Greco; Jaroslaw Kowalski; NAnt Developers
Subject: Re: [nant-dev] get-assembly-direcotry() function

Hi Clayton,
Do you have the lastest mono built from cvs ? I'm getting the same 
result as Guis. I'm also on Fedora 1. I don't have mono installed to 
/usr but I think its unlikly thats the cause. I'll 
investigate soem more. Ian

Clayton Harbour wrote:
   

Hi,
I get /usr/lib/mono/1.0 on my Fedora Core 1 install with 
 

NAnt rebuilt 
   

this morning.  There was some oddness with the install as the config 
file contained a reference to a tasks folder but the task binaries 
were not built in a task folder.  Maybe I caught something in 
mid-checkin?  Anyway, it seems to work on this install.

Cheers,
Clayton
-Original Message-
From:   Gert Driesen [mailto:[EMAIL PROTECTED]
Sent:   Thu 5/20/2004 6:39 PM
To: Giuseppe Greco
Cc: Jaroslaw Kowalski; NAnt Developers
Subject:Re: [nant-dev] get-assembly-direcotry() function
- Original Message -
From: Giuseppe Greco [EMAIL PROTECTED]
To: Gert Driesen [EMAIL PROTECTED]
Cc: Jaroslaw Kowalski [EMAIL PROTECTED]; NAnt Developers
[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 11:23 PM
Subject: Re: [nant-dev] get-assembly-direcotry() function

 

Giuseppe, can you indeed confirm that get-assembly-directory() just


 

returned
 

1.0 ?


 

Yes, I do (of course, on Linux).
I've inserted the following task in one of my project files:
echo
message=${framework::get-assembly-directory(target.framework)}
/
... and the result is 1.0.
  

   

Can anyone else reproduce this issue ?  (I still have to reload my 
gentoo image ... I installed the latest longhorn on my linux box .. 
shame on me ... blush :))

Gert

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 
10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers



 

--
Ian MacLean, Developer, 
ActiveState, a division of Sophos
http://www.ActiveState.com

   


--
Ian MacLean, Developer, 
ActiveState, a division of Sophos
http://www.ActiveState.com


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] custom function that uses com interop

2004-05-21 Thread John Cole



Hello,
 I'm trying to 
write another custom function :-) This one needs to use the TypeLibInfo 
dll to get some information about a dll.

 I don't, 
however know how to get the custom function to reference the dll via 
interop.


 Here is my 
funciton so far:


---
project 
name="typelibfunctions" default="inittypelib"target 
name="inittypelib"script language="C#" 
prefix="typelib"referencesincludes 
name="Interop.TLBINF32.dll" 
//referencescode![CDATA[[Function("guid")]public 
static string GetCLSIDFromFile( string pFileName 
){TLI.TypeLibInfo 
t;TLI.TLIApplicationClass tli = new 
TLI.TLIApplicationClass();t = 
tli.TypeLibInfoFromFile(pFileName);return 
t.GUID;}]]/code/scriptecho 
message="${typelib::guid('C:\Documents and Settings\jcole\My 
Documents\src\UtilityCenter\2x\MapObjects\Components\uaCore\uaCore.dll')}" 
//target/project
---

Is it possible to have a custom function 
reference a com dll?

Thanks

John 
Cole