Extract property

Official Content
This documentation is valid for:

It allows you to automatically copy the file to a certain directory during the building process.

It's very useful for files that need to be copied to the application directory, such as some classes or *.dll files used with external objects.

Warning: This property and its subordinates (Generator and Extract to path properties) have been deprecated as of GeneXus 15 Upgrade 11. Refer to File object article for details.

Values

No The file is not going to be copied. This is the default value.
Always The file is always copied after the generation process.
Newer The file is copied only when it's newer.

When 'Always' or 'Newer' is selected, the "Generator" and "Extract to path" properties appear.
 

Generator property

Any The file will be copied regardless of the generator used. This is the default value.
CSharp The file is copied only when generating with CSharp.
Java The file is copied only when generating with Java.
Ruby The file is copied only when generating with Ruby (not available in GeneXus 15).
 

Extract to path property

It's the path where the file is going to be copied, and it may be an absolute or relative path. When left empty, the default behavior is as follows:

Win User Interface Target Path property directory (for CSharp it's TargetPath\bin).
Web User Inteface Target Path property \web directory.

 

Notes

  • If the “Extract to path” property is empty during the specification process, the extraction will be made in the 'bin' folder of the KB.
  • If the extraction is to be made in another folder, or if the absolute address is used or if it is indicated with a “.”, the extraction will be made in the Web folder of the KB.

Both cases are independent of the environment (win/web).

Scope

Objects   File object






Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.