Do you have a question?

First Name:
Surname:
Email:
Phone:
Message:
Get Audio Code

Building RIS from source
Last Post 20 Sep 2010 02:48 PM by stewart. 55 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 3 of 3 << < 123
Author Messages Informative
ArshadUser is Offline
New Member
New Member
Posts:1

--
11 Sep 2009 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


OPUser is Offline
New Member
New Member
Posts:16

--
31 Oct 2009 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)


stewartUser is Offline
Veteran Member
Veteran Member
Posts:2359

--
03 Nov 2009 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


OPUser is Offline
New Member
New Member
Posts:16

--
12 Nov 2009 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)



OPUser is Offline
New Member
New Member
Posts:16

--
12 Nov 2009 09:04 AM  
It looked the HL7 folder is missing from my checkout


stewartUser is Offline
Veteran Member
Veteran Member
Posts:2359

--
12 Nov 2009 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


henryUser is Offline
Basic Member
Basic Member
Posts:259

--
12 Nov 2009 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

 



OPUser is Offline
New Member
New Member
Posts:16

--
13 Nov 2009 11:36 AM  
Thanks Henry. That worked.


TadejUser is Offline
New Member
New Member
Posts:5

--
25 Nov 2009 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



LuigiUser is Offline
New Member
New Member
Posts:18

--
04 Mar 2010 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

LuigiUser is Offline
New Member
New Member
Posts:18

--
15 Mar 2010 10:17 AM  

Hi Guys

What is the Revision number for the RIS 2.0 SP1?

Luigi



stewartUser is Offline
Veteran Member
Veteran Member
Posts:2359

--
15 Mar 2010 12:20 PM  

Luigi, the 2.0SP1 version is tagged and the location can be found in the Developer's Guide.

Best regards,

Stewart



jonathanUser is Offline
Advanced Member
Advanced Member
Posts:997

--
15 Mar 2010 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.


Brainiacs TUser is Offline
New Member
New Member
Posts:24

--
18 May 2010 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



PiotrUser is Offline
New Member
New Member
Posts:1

--
17 Sep 2010 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...



stewartUser is Offline
Veteran Member
Veteran Member
Posts:2359

--
20 Sep 2010 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.


You are not authorized to post a reply.
Page 3 of 3 << < 123


Active Forums 4.1