How do I import and compile new .CLS files

What is the best way of importing new class files (.CLS) that Git has placed in my Atelier project folder?

I need to be able to do it from the command prompt as I want to script it.

 

Fred

  • 0
  • 0
  • 489
  • 1
  • 2

Answers

Hi, Fred! 

I'm using the following:

do $System.OBJ.ImportDir("/your/dirfor/source","*.xml;*.cls;*.mac;*.int;*.inc;*.dfi","ck",,1)

It will import and compile COS code either in XML or in UDL (cls) format.

Thanks for that. It worked fine but it leads on to the next question. How do get it into my Atelier project automatically?

Hi Fred,

To better assist you, can you let me know if you are you using the EGit plugin? 

Thanks,
Joyce