Friday, July 30, 2010
Google Custom Search

Go to...

Recent Forum Posts

Our Community

Membership Membership:
Latest New User Latest: clim7777
New Today New Today: 11
New Yesterday New Yesterday: 18
User Count Overall: 10082

People Online People Online:
Visitors Visitors: 6
Members Members: 0
Total Total: 6

Online Now Online Now:

ClearCanvas Community Forums

Building RIS from source
Last Post 2010-05-18 02:37 PM by brainiacs. 53 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 3 of 3 << < 123
Author Messages Informative
arshadjamal
New Member
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
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
Senior Member
Posts:1387

--
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


OP
Basic Member
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
Basic Member
Posts:16

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


stewart
Senior Member
Senior Member
Posts:1387

--
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


henry
Senior Member
Senior Member
Posts:257

--
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
Basic Member
Posts:16

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


tadejkan
New Member
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
Basic Member
Posts:16

--
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
Basic Member
Posts:16

--
2010-03-15 10:17 AM  

Hi Guys

What is the Revision number for the RIS 2.0 SP1?

Luigi



stewart
Senior Member
Senior Member
Posts:1387

--
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



resnickj
Senior Member
Senior Member
Posts:886

--
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.


brainiacs
Basic Member
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



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


Active Forums 4.1
Copyright 2010 ClearCanvas Inc.