Support Requests item #1185531, was opened at 2005-04-18 17:24 Message generated for change (Comment added) made by kudaba You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474852&aid=1185531&group_id=54790
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 9 Submitted By: RadeBlade (radeblade) Assigned to: Nobody/Anonymous (nobody) Summary: p4change, changelists and perforce Initial Comment: I'm having the same problem and I'm not sure what to do. I've been tearing my hair out on getting perforce to work with nantcontrib so that the build process can be automated. Has anyone had any success doing this? Please post any solutions/suggestions. ---------------------------------------------------------------------- Comment By: kudaba (kudaba) Date: 2005-12-01 09:58 Message: Logged In: YES user_id=1359697 Quick FIX: The problem is that the task that runs the p4change command has to determing what change number to use. To do this it first creates a changelist and then tries to create it a second time which opens the window. I managed to fix this by overriding the task execution behavior and stopping the second call. Simply add this method to the P4Change class: protected override void ExecuteTask() { if ( Delete ) { base.ExecuteTask(); } else { if ( Changelist == null) { throw new BuildException("A \changelist\ is required for p4edit"); } Perforce.GetChangelistNumber( User, Client, Changelist, true ); } } ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2005-04-18 21:15 Message: Logged In: YES user_id=707851 I don't have any perforce system that I can use to test the tasks, so I'm afraid you'll need to dig a little deeper yourself. Can you run your build in verbose mode, and execute the same commands from the command prompt ? ---------------------------------------------------------------------- Comment By: RadeBlade (radeblade) Date: 2005-04-18 17:26 Message: Logged In: YES user_id=1261907 I'm having the same problem as posted here: https://sourceforge.net/tracker/? func=detail&atid=474852&aid=961275&group_id=54790 When you execute p4change, a window pops up, asking you what to do. This obviously is a problem for automated builds. Any help would be greatly appreciated. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474852&aid=1185531&group_id=54790 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ NAntContrib-Developer mailing list NAntContrib-Developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer