views:

19

answers:

2

Is there a way to have AX/Axapta, prompt before compiling?

I have accidentally clicked compile for the entire app several times now, and since it takes 30-60 minutes, if I could add a prompt prior, it would be great.

Thanks

A: 

You can stop the compile by pressing Ctrl-Break.

You could add a prompt to the class method ClassFactory.createCompilerOutput. Calling the compiler from the menu, or from the AOT both trigger that method.

Jay Hofacker
A: 

Well, actually it does have a prompt in \Classes\SysCompileAll\prompt.

You may consider removing it from the menu. Or make yet another "Are you sure" prompt.

Jan B. Kjeldsen
@Jan B. Kjeldsen, if I open the AOT, then click Compile, I get no prompt.
Chad

related questions