Problems with plugins
I created plugin for handling status changes. Source (as in documentation):
[code] using System; using CounterSoft.GeminiLib; using System.IO; using System.Diagnostics;
namespace MyGeminiPlugins { public class KeeperBuildPlugin : AbstractIssueListener { public KeeperBuildPlugin() { }
public override void IssueCreated(IssueEventArgs args)
{
if(!EventLog.SourceExists("MyGeminiSource"))
{
EventLog.CreateEventSource("MyGeminiSource", "MyNewGeminiLog");
}
// Create an EventLog instance and assign its source.
EventLog myLog = new EventLog();
myLog.Source = "MyGeminiSource";
// Write an informational entry to the event log.
myLog.WriteEntry("Hello, World!");
try
{
}
catch (Exception ex)
{
GeminiHelper.LogException(ex);
}
}
}
} [/code]
I compiled it and place result KeeperTools2.dll in bin/plugins directory. Run Gemini, changed status for any issue. It does not work! There is no messages in EventViewer. Then I used FileMonitor from sysinternals.com, and noticed that no one access to my KeeperTools2.dll. I check Web.config. There is an option: [code] [/code]
Help me, please!
|
Zak
· 1 |
|
| Friday, May 12, 2006, 9:53:39 AM | |




