arshadjamal
 New Member Posts:1
 |
| 2009-09-11 05:33 AM |
|
Hello there, I am new to ClearCanvas and came across to this very today. I followed the procedure mentioned on "Getting the source code" and downloaded the source code. I couldn't able to locate the "RIS" folder in that. Can anyone help me how should I proceed. Thank you |
|
|
|
|
OP
 Basic Member Posts:16
 |
| 2009-10-31 09:10 PM |
|
I followed this thread to build the Ris server from the source. My Ris 1.5 source resides at J: drive. Is there a problem to put the source code under a drive different than the C: drive? Could anyone take a look and help to figure the following error? Thanks. Errors from running msbuild Ris.proj codegen-clean.bat MSBUILD : warning MSB6003: The specified task executable could not b e run. The directory name is invalid The previous error was converted to a warning because the task was c alled with ContinueOnError=true. Build continuing because "ContinueOnError" on the task "Exec" is set to "true". codegen-gen.bat J:\CC\Ris\Server\RisServerCodeGen.proj(12,5): error MSB6003: The specified task executable could not be run. The directory name is invalid Done building target "BuildSolution" in project "RisServerCodeGen.proj" -- FAILED. Done building project "RisServerCodeGen.proj" -- FAILED. Build FAILED. MSBUILD : warning MSB6003: The specified task executable could not be run. The d irectory name is invalid J:\CC\Ris\Server\RisServerCodeGen.proj(12,5): error MSB6003: Th e specified task executable could not be run. The directory name is invalid 1 Warning(s) 1 Error(s) |
|
|
|
|
stewart
 Senior Member Posts:2128
 |
| 2009-11-03 03:29 PM |
|
Hi, sorry, I can't really tell from the error exactly what the problem is. There are some prerequisites other than having Visual Studio in order to build the RIS. One is that you must have Ruby installed because the code generator uses it. One of the RIS developers might be able to tell you if a specific version is required, or if there are other prerequisites. The only other thing I can suggest is to try moving the code to the C: drive and see if the problem goes away. However, I doubt that's the problem - as far as I know you can put the code on any drive you like; you just can't have spaces in the path. Hope this helps, Stewart |
|
| Real-time support available to Clinical Edition and Team Edition customers |
|
|
OP
 Basic Member Posts:16
 |
| 2009-11-12 08:59 AM |
|
I am taking up this again... now I put everything under the C: drive. Ruby is installed and working OK. I am still getting the same compilation error (see below). I am using the VS2003 on Windows XP Pro sp3 and .net 2, 3.0, 3.0 and 3.1sp1. Does the Ris code compile under VS2003? The complain seemed from clean.bat. I searched the source directory but couldn't find any file with name: clean.bat. Could this clean.bat be missing from the source tree? Any help would be greatly appreciated. Error from running msbuild ris.proj in the : codegen-clean.bat MSBUILD : warning MSB6003: The specified task executable could not b e run. The directory name is invalid The previous error was converted to a warning because the task was c alled with ContinueOnError=true. Build continuing because "ContinueOnError" on the task "Exec" is set to "true". codegen-gen.bat C:\workstation\Ris\Server\RisServerCodeGen.proj(12,5): error MSB6003: The specified task executable could not be run. The directory name is invalid Done building target "BuildSolution" in project "RisServerCodeGen.proj" -- FAILED. Done building project "RisServerCodeGen.proj" -- FAILED. Build FAILED. CSC : warning CS1668: Invalid search path 'C:\Program Files\Microsoft Visual Stu dio .NET 2003\VC7\PlatformSDK\lib\prerelease' specified in 'LIB environment vari able' -- 'The system cannot find the path specified. ' CSC : warning CS1668: Invalid search path 'C:\Program Files\Microsoft Visual Stu dio .NET 2003\VC7\PlatformSDK\lib\prerelease' specified in 'LIB environment vari able' -- 'The system cannot find the path specified. ' MSBUILD : warning MSB6003: The specified task executable could not be run. The d irectory name is invalid C:\OnePacs\workstation\Ris\Server\RisServerCodeGen.proj(12,5): error MSB6003: Th e specified task executable could not be run. The directory name is invalid 18 Warning(s) 1 Error(s)
|
|
|
|
|
OP
 Basic Member Posts:16
 |
| 2009-11-12 09:04 AM |
|
It looked the HL7 folder is missing from my checkout |
|
|
|
|
stewart
 Senior Member Posts:2128
 |
| 2009-11-12 09:54 AM |
|
OP, the 1.5 version of CC is intended for Visual Studio 2005, the current trunk code is 2008. Based on the logs you posted, it looks like you have an issue with 2003 (the "invalid search path LIB environment variable", etc). C# Express 2008 is free and you should be able to convert/compile the 1.5 code easily; we didn't have any issues converting. Hope this helps, Stewart |
|
| Real-time support available to Clinical Edition and Team Edition customers |
|
|
henry
 Senior Member Posts:259
 |
| 2009-11-12 10:50 AM |
|
Hi OP,
As a workaround for now you might try commenting out or removing the two lines from RisServercodeGen.proj that refer to the HL7 directory. I've been able to successfully build the RIS once that's done.
(I would paste them here but for some reason xml isn't appearing in my response.)
Henry
|
|
|
|
|
OP
 Basic Member Posts:16
 |
| 2009-11-13 11:36 AM |
|
Thanks Henry. That worked. |
|
|
|
|
tadejkan
 New Member Posts:5
 |
| 2009-11-25 06:35 AM |
|
Hi.
I'm trying to compile RIS, but am having problems ..
I installed Ruby and I have both - VS 2005 and VS 2008 C# Express.
When I try to build Trunk, I get the following output:
...lities\ObservableList.cs Utilities\ResourceResolver.cs Utilities\AttributeUtils.cs Utilities\NullExtensionFactory.cs Audit\AuditLo
g.cs Audit\AuditEntryInfo.cs Audit\IAuditSink.cs ExtensionSettings.cs ExtensionSettings.Designer.cs IUserCredentialsProvider.cs Pr
oductSettings.cs ProductSettings.Designer.cs Shreds\IShred.cs Shreds\QueueProcessor.cs Shreds\QueueProcessorShred.cs Shreds\Shred.
cs Shreds\ShredExtensionPoint.cs Utilities\FtpFileTransfer.cs Utilities\IObservableList.cs Utilities\IRemoteFileTransfer.cs Utilit
ies\HttpFileTransfer.cs
Audit\AuditLog.cs(66,37): error CS1031: Type expected
Audit\AuditLog.cs(66,38): error CS0443: Syntax error, value expected
Audit\AuditLog.cs(66,39): error CS1026: ) expected
Audit\AuditLog.cs(66,55): error CS1519: Invalid token ')' in class, struct, or interface member declaration
Done building target "CoreCompile" in project "ClearCanvas.Common.csproj" -- FAILED.
Done building project "ClearCanvas.Common.csproj" -- FAILED.
Build FAILED.
Audit\AuditLog.cs(66,37): error CS1031: Type expected
Audit\AuditLog.cs(66,38): error CS0443: Syntax error, value expected
Audit\AuditLog.cs(66,39): error CS1026: ) expected
Audit\AuditLog.cs(66,55): error CS1519: Invalid token ')' in class, struct, or interface member declaration
0 Warning(s)
4 Error(s)
Time Elapsed 00:00:04.32
D:\Projects\SB_Slovenj_Gradec\CC_Trunk\Ris>
And when trying to compile tag Workstation/RIS 1.5 SP1:
Generated /Healthcare/NoteAcknowledgementSearchCriteria.gen.cs
Processing Address
Generated /Healthcare/Address.gen.cs
Generated /Healthcare/AddressSearchCriteria.gen.cs
Skipping WorklistQueryBase
Processing WorklistQueryBaseResult
Generated /Healthcare/WorklistQueryBaseResult.gen.cs
Processing WorklistQueryBaseCriteria
Generated /Healthcare/WorklistQueryBaseCriteria.gen.cs
Total 243 files
codegen-clean.bat
MSBUILD : warning MSB6003: The specified task executable could not be run. The directory name is invalid
The previous error was converted to a warning because the task was called with ContinueOnError=true.
Build continuing because "ContinueOnError" on the task "Exec" is set to "true".
codegen-gen.bat
D:\Projects\SB_Slovenj_Gradec\ClearCanvas_RisViewer1.5SP1\Ris\Server\RisServerCodeGen.proj(12,5): error MSB6003: The s
pecified task executable could not be run. The directory name is invalid
Done building target "BuildSolution" in project "RisServerCodeGen.proj" -- FAILED.
Done building project "RisServerCodeGen.proj" -- FAILED.
Build FAILED.
MSBUILD : warning MSB6003: The specified task executable could not be run. The directory name is invalid
D:\Projects\SB_Slovenj_Gradec\ClearCanvas_RisViewer1.5SP1\Ris\Server\RisServerCodeGen.proj(12,5): error MSB6003: The specified tas
k executable could not be run. The directory name is invalid
1 Warning(s)
1 Error(s)
Time Elapsed 00:00:24.97
D:\Projects\SB_Slovenj_Gradec\ClearCanvas_RisViewer1.5SP1\Ris>
Any idea on what's going on?
Regards,
Tadej |
|
|
|
|
Luigi
 Basic Member Posts:18
 |
| 2010-03-04 10:38 AM |
|
Hi Guys! Every help appreciated .......
Iam trying to build Rev. 12706 from 03/03/2010 ot the Trunk.
I was able to build successfully in Building the RIS and the SQLServer script.
But after i wanted to run following command:
ClearCanvas.Ris.Server.Executable Authentication.Setup.SetupApplication
i receive an error please refer to the attchament.
APENDUM: sorry guys .... i didnt run the script against my new Databse!!!
CASE IS SOLVED
|
Attachment: Error.txt
|
|
|
|
Luigi
 Basic Member Posts:18
 |
| 2010-03-15 10:17 AM |
|
Hi Guys
What is the Revision number for the RIS 2.0 SP1?
Luigi |
|
|
|
|
stewart
 Senior Member Posts:2128
 |
| 2010-03-15 12:20 PM |
|
Luigi, the 2.0SP1 version is tagged and the location can be found in the Developer's Guide.
Best regards,
Stewart |
|
| Real-time support available to Clinical Edition and Team Edition customers |
|
|
resnickj
 Senior Member Posts:980
 |
| 2010-03-15 01:08 PM |
|
I have also edited the initial post in this thread to point to the 2.0 SP1 tag. Sorry for the confusion. |
|
| Real-time support available to Clinical Edition and Team Edition customers |
|
|
brainiacs
 Basic Member Posts:24
 |
| 2010-05-18 02:37 PM |
|
Hi Denver... U need to import authority tokens. Go to Admin->Authority Tokens... Then double click Administrator group and in the popup window, click an icon containing an arrow towards right. Click it, close the workstation and then re-login. You must see the configurations menu option in tools menu |
|
|
|
|
helimed
 New Member Posts:1
 |
| 2010-09-17 04:02 PM |
|
Hi everyone.
I think I've read all topics on the forum explaining how to bulid Ris and Ris client from source but I'm still unable to do it.
Windows XP in Virtualbox, instaled .Net framework 2.0, 3.0 and 3.5, silverlight and silverlight sdk, ajax and ruby and of course CC SDK. Tried Visual Studio 2010, 2008 (Ultimate and Profesional) and without success.
Right now i receive following errors:
Z:\CC\Desktop\Executable\\PostBuild_dist.proj(156,5): error MSB4061: The "Regex
IsMatch" task could not be instantiated from the assembly "Z:\CC\Desktop\Execut
able\\..\..\ReferencedAssemblies\MSBuild\ClearCanvas.Utilities.BuildTasks.dll".
Z:\CC\Desktop\Executable\\PostBuild_dist.proj(156,5): error MSB4061: System.Sec
urity.SecurityException: That assembly does not allow partially trusted callers
.
Z:\CC\Desktop\Executable\\PostBuild_dist.proj(156,5): error MSB4061: at ClearCa
nvas.Utilities.BuildTasks.RegexIsMatch..ctor()
Z:\CC\Desktop\Executable\\PostBuild_dist.proj(156,5): error MSB4061: The action
that failed was:
Z:\CC\Desktop\Executable\\PostBuild_dist.proj(156,5): error MSB4061: LinkDemand
Z:\CC\Desktop\Executable\\PostBuild_dist.proj(156,5): error MSB4061: The assemb
ly or AppDomain that failed was:
Z:\CC\Desktop\Executable\\PostBuild_dist.proj(156,5): error MSB4061: ClearCanva
s.Utilities.BuildTasks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Z:\CC\Desktop\Executable\\PostBuild_dist.proj(156,5): error MSB4061: The Zone o
f the assembly that failed was:
Z:\CC\Desktop\Executable\\PostBuild_dist.proj(156,5): error MSB4061: Internet
Z:\CC\Desktop\Executable\\PostBuild_dist.proj(156,5): error MSB4061: The Url of
the assembly that failed was:
Z:\CC\Desktop\Executable\\PostBuild_dist.proj(156,5): error MSB4061: file:///Z:
/CC/ReferencedAssemblies/MSBuild/ClearCanvas.Utilities.BuildTasks.dll
Z:\CC\Desktop\Executable\\PostBuild_dist.proj(156,5): error MSB4060: The "Regex
IsMatch" task has been declared or used incorrectly, or failed during construct
ion. Check the spelling of the task name and the assembly name.
Done Building Project "Z:\CC\Desktop\Executable\PostBuild_dist.proj" (default
targets) -- FAILED.
Build FAILED.
SOLVED - You cannot build project from network drive... |
|
|
|
|
stewart
 Senior Member Posts:2128
 |
| 2010-09-20 02:48 PM |
|
Hmm, that's a new one - try building under an Administrator account on your machine. The exception seems to suggest there is a permissions problem. |
|
| Real-time support available to Clinical Edition and Team Edition customers |
|
|