Book a Demo

Author Topic: Help needed for Building a project  (Read 6569 times)

Vista

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Help needed for Building a project
« on: March 07, 2007, 08:50:34 pm »
hi,

I am trying to build the project ,but get fatal error CS2008.

This is what i am doing .I have imported my .NET c# classes from the root path.

I am setting the PackageBuild script as follows

Build Path as :C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe

Run Path as : C:\INTER\MYTIME\BController\obj\Debug\

Debug  as: Inter.MyTime.BController.dll


Am i doing mistake in my settings?? Please help

Thanks


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Help needed for Building a project
« Reply #1 on: March 07, 2007, 09:01:54 pm »
You need to tell the compiler what to build.  (That error message is no inputs specified)

Have a look at http://msdn2.microsoft.com/en-us/library/78f4aasd(VS.80).aspx for instructions on compiling C# on the command line.

Vista

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Help needed for Building a project
« Reply #2 on: March 07, 2007, 09:07:12 pm »
Hi simon,

Its not the problem about building , I am able to build it using Visual Studio. But am not able to do it using EA . I need to generate sequential diagram and that is why this excercise..

Regards

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Help needed for Building a project
« Reply #3 on: March 08, 2007, 01:04:53 pm »

Vista

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Help needed for Building a project
« Reply #4 on: March 08, 2007, 05:48:12 pm »
ok Simon Thanks,

It says the debugging of assemblies are supported only with .NET version 2 . I am using a lesser version.

That means i wouldnt be able to reengineer Sequence diagram .


Regards,

Vista

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Help needed for Building a project
« Reply #5 on: March 12, 2007, 04:51:36 pm »
Hello Simon,

I have .Net version 2 . trying to Build and Debug my project for Reverse Engineering Sequence Diagram. Somehow out of luck .


According to the UserGuide

type_name, method_name, { method_argument_1, method_argument2,....}


I have set the Debug tab as follows:

XXX.YYY.Login.BusinessController.dll

and the variables as


XXX.YYY.Login.BusinessController.LogInInfoController.ExecuteBusinessLogic,ExchangeDataSuper,SessionInformation,config

where ExecuteBusinessLogic is the METHOD , ExchangeDataSuper ,SessionInformation ,Config are all instances of class .

I still get the same error while building the project .

Let me know if i am doing wrong .

Thanks for all your help

Regards,



Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Help needed for Building a project
« Reply #6 on: March 12, 2007, 05:54:00 pm »
From looking at the help link above it appears that your run time variables are incorrect.  You need to have a comma, not a full stop between your type_name and your method_name.

Vista

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Help needed for Building a project
« Reply #7 on: March 12, 2007, 05:58:34 pm »
Its the same with coma .

Is it possible to set the Instances as the parameter for the method . I was wondering if that was a problem .


Vista

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Help needed for Building a project
« Reply #8 on: March 13, 2007, 05:47:49 pm »
Hi ,


What is the Build filename you have to specify while setting.


"C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com" /Build Debug XXX.sln

Is XXX => the Controller dll or the source file???

Thanks

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Help needed for Building a project
« Reply #9 on: March 14, 2007, 01:13:00 pm »
You may need to use the relative path to your dll from the base directory of your build script.

By the look of it XXX should be the name of your solution file.

Vista

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Help needed for Building a project
« Reply #10 on: March 14, 2007, 04:29:05 pm »
Hi,

Thanks for the reply.

I have used
"C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com" /Build Debug BusinessController.csproj

for build and could successfully build .

Where as i have problem with the debug , can u help me please

classname

obj\Debug\Int.Real.Login.BusinessController.dll

Variables

Int.Real.Login.BusinessController.LogInInfoController.ExecuteBusinessLogic,ExchangeDataSuper,SessionInformation,SystemConfiguration

With this ,

15/03/2007 09::26 Default Directory is C:\Int\Real\BusinessController\
15/03/2007 09::26 Debugger CLR runtime version is v2.0.50727
15/03/2007 09::27 Process created \Device\HarddiskVolume1\Program Files\Sparx Systems\EA Trial\SSInvoke.exe running CLR version v2.0.50727
15/03/2007 09::27 Debug process in domain DefaultDomain
15/03/2007 09::27 Debug process in domain SSInvoke.exe
15/03/2007 09::27 debug ends for SSInvoke.exe

But it doesnt stop at the breakpoint . The Stack Record button and the sequence diagram buttons are disabled .Am not able to test the version for the purpose of Generating sequence diagram .

Kindly help



Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Help needed for Building a project
« Reply #11 on: March 14, 2007, 04:38:25 pm »
Have you reverse engineered the code into EA?

Vista

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Help needed for Building a project
« Reply #12 on: March 14, 2007, 04:39:22 pm »
Reverse Engineered the code=My class diagram is reverse Engineered .


Vista

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Help needed for Building a project
« Reply #13 on: March 14, 2007, 05:09:13 pm »
Simon,

I have followed exactly the same procedure as the Demo . Except that i am using the dll , where as in the Demo it is Exe.

NOTE: In the ProjectBuildScript, the Debug is not marked . though i have made the settings .


Thanks

Vista

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Help needed for Building a project
« Reply #14 on: March 14, 2007, 10:31:35 pm »
Any Ideas about this error during DEBUG
---------------------------------------------------
Suitable method not found!
Here are the reasons:
Int.Real.Chart.BusinessController.QueueTransaction.ExecuteBusinessLogic:Argument Conversion Failed
System.Object.GetType:MethodName Doesn't Match!
System.Object.ToString:Method Name Doesn't Match!
System.Object.Equals:Method Name Doesn't Match!
System.Object.GetHashCode:Method Name Doesn't Match!
---------------------------------------------------------


Where QueueTransaction is a Controllerclass , ExecuteBusinessLogic is the method in the controller class