[NAntC-Dev] sql task question

2004-12-08 Thread John Ellenberger
Greets folks!
I'm a fairly new user to NAnt  NAnt Contrib (couple of weeks now).  I
have a question regarding the sql task; I'm hoping this is the correct
place to ask (I didn't see a 'users' list).  I have a sql statement
contained in a property.  I want the sql task to execute that
statement (it's build dynamicly).  

sql connstring=Provider=SQLOLEDB;Data Source=(local);Initial
Catalog=eFinancials2_daily delimiter=, delimstyle=Normal
${versionUpdateSQL}
/sql

Doesn't seem to do it, as I don't believe the ${versionUpdateSQL}
property gets expanded.  Any thoughts?

Regards,
 John W. Ellenberger
 Senior Programmer/Analyst
 Geac Commercial Systems Division


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] [ nantcontrib-Bugs-1081430 ] Force in p4sync: syntax error

2004-12-08 Thread SourceForge.net
Bugs item #1081430, was opened at 2004-12-08 11:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=474851aid=1081430group_id=54790

Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Stéphane Bouchard (sbouchard)
Assigned to: Nobody/Anonymous (nobody)
Summary: Force in p4sync: syntax error

Initial Comment:
p4sync.build:
project name=Test p4sync
 p4sync force=true view= //depot/projects/... /
/project

result:
NAnt 0.85 (Build 0.85.1793.0; rc1; 2004/11/28)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///D:/_ws/p4.build

   [p4sync] Usage: sync [-f -n] [files...]
   [p4sync] Invalid option: -//depot/projects/

BUILD FAILED - 0 non-fatal error(s), 2 warning(s)

The error is in the file P4Sync.cs when you add the -f 
flag the space is in the wrong side.

 arguments.Append(  -f);
should be

  arguments.Append( -f );

Thanks.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=474851aid=1081430group_id=54790


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] [ nantcontrib-Bugs-1081472 ] vb6 task problems with Auto Increment revision

2004-12-08 Thread SourceForge.net
Bugs item #1081472, was opened at 2004-12-08 08:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=474851aid=1081472group_id=54790

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Hani Atassi (haniatassi)
Assigned to: Nobody/Anonymous (nobody)
Summary: vb6 task problems with Auto Increment revision

Initial Comment:
If the VB6 project set to Auto Increment the revision 
number of the version, the task vb6 compiles the 
project each time even if it's up-to-date.

This is because VB actually update the revision number 
after it builds the output file. So, the VB project file is 
always newer..

I fixed this temprorary by touching each output file that 
the compiler generates after a successful build. I am not 
sure if there is a better fix..

Thanks,

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=474851aid=1081472group_id=54790


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] [ nantcontrib-Bugs-1081430 ] Force in p4sync: syntax error

2004-12-08 Thread SourceForge.net
Bugs item #1081430, was opened at 2004-12-08 17:08
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=474851aid=1081430group_id=54790

Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Stéphane Bouchard (sbouchard)
Assigned to: Nobody/Anonymous (nobody)
Summary: Force in p4sync: syntax error

Initial Comment:
p4sync.build:
project name=Test p4sync
 p4sync force=true view= //depot/projects/... /
/project

result:
NAnt 0.85 (Build 0.85.1793.0; rc1; 2004/11/28)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///D:/_ws/p4.build

   [p4sync] Usage: sync [-f -n] [files...]
   [p4sync] Invalid option: -//depot/projects/

BUILD FAILED - 0 non-fatal error(s), 2 warning(s)

The error is in the file P4Sync.cs when you add the -f 
flag the space is in the wrong side.

 arguments.Append(  -f);
should be

  arguments.Append( -f );

Thanks.

--

Comment By: Gert Driesen (drieseng)
Date: 2004-12-08 23:21

Message:
Logged In: YES 
user_id=707851

This issue should be fixed in the latest nightly build :

http://nantcontrib.sourceforge.net/nightly/latest/

Let me know if that fixed your problem (as I don't have a 
perforce test environment).

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=474851aid=1081430group_id=54790


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] [ nantcontrib-Bugs-1076925 ] The vsscheckout does'nt set the last-modified correctly

2004-12-08 Thread SourceForge.net
Bugs item #1076925, was opened at 2004-12-01 18:29
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=474851aid=1076925group_id=54790

Category: Tasks
Group: cvs
Status: Open
Resolution: None
Priority: 8
Submitted By: Steinar Herland (steinarherland)
Assigned to: Nobody/Anonymous (nobody)
Summary: The vsscheckout does'nt set the last-modified correctly

Initial Comment:
When doing a checkout, last-modified is sett to now,
not to the last-modified-in-vss. I have my assemblies
in vss, and checkout before building. Due to the
problem, I have to 
- checkout from vss
- remove the files 
- getlatest usemodtime from vss
- attrib readonly=false

How about having a usemodtime property on the
vsscheckout task?

(EVEN better would be a property dontgetlocalfiles or
similar. - That way I could get build checout
dontgetlocalfiles checkin

My current script:

target name=checkout
vsscheckout user=${vss.user}
password=${vss.password}
dbpath=${vss.server.dir}\srcsafe.ini
recursive=false
localpath=${vss.local.assemblies.release}
path=${vss.assemblies.release} /
delete dir=${vss.local.assemblies.release} /
vssget user=${vss.user} password=${vss.password}
replace=false writable=false
dbpath=${vss.server.dir}\srcsafe.ini
verbose=true usemodtime=true recursive=false
localpath=${vss.local.assemblies.release}
path=${vss.assemblies.release} /
attrib readonly=false verbose=true
fileset
include name=${vss.local.assemblies.release}\* /
/fileset
/attrib
/target


--

Comment By: Gert Driesen (drieseng)
Date: 2004-12-09 08:35

Message:
Logged In: YES 
user_id=707851

I'll probably add support for all three types of local 
timestamps later today (or so), meaning :

Current : The timestamp of the local file is set to the current 
date and time.
Modified : The timestamp of the local file is set to the file's 
last modification date and time. 
Updated : The timestamp of the local file is set to the date 
and time that the file was last checked in to the database.

(the default value would be Current ofcourse)

If you can come up for better names for the enum fields, 
don't hesistate to tell me ;-)

After that I'll look into adding a localcopy attribute that 
controls whether local files should be retrieved.

--

Comment By: Steinar Herland (steinarherland)
Date: 2004-12-03 14:57

Message:
Logged In: YES 
user_id=1169772

I have made a patch (CheckoutTask.cs) adding support for
usemodtime to the task. Can somebody please commit?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=474851aid=1076925group_id=54790


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] [ nantcontrib-Bugs-1002773 ] source safe task errors. please help

2004-12-08 Thread SourceForge.net
Bugs item #1002773, was opened at 2004-08-03 19:44
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=474851aid=1002773group_id=54790

Category: Tasks
Group: unknown
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Jason (lc1104)
Assigned to: Gert Driesen (drieseng)
Summary: source safe task errors.  please help

Initial Comment:
Sometimes with the vssget, vsscheckout, and vsscheckin
tasks, my build script will fail for now reason.  It
will say that it cannot open the database and then just
fail.  The problem is that this will happen randomly. 
For instance, if it fails and I run it again, it will
succeed.  And at all times, no one was accessing source
safe, and even if someone were, it should still work. 
 Does anyone else know of this problem?  Any solutions?
 thanks!

jason
[EMAIL PROTECTED]

--

Comment By: Gert Driesen (drieseng)
Date: 2004-12-09 08:38

Message:
Logged In: YES 
user_id=707851

Jason,

I think there's too little information available to help you out 
with this problem.

I hope you've been able to resolve this issue since.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=474851aid=1002773group_id=54790


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer