Skip to content

When are .xtextbin files needed at runmite? #3670

@dilyanpalauzov

Description

@dilyanpalauzov

org.eclipse.xtext.xbase-2.42.0.jar contains the files mentioned below. Which of these are necessary and when at runtime?

  • What purpose serves and when is Xtype.xtextbin needed at runtime?
  • What purpose serves and when is Xtype.xtext needed at runtime?
  • What purpose serves and when is Xtype.ecore needed at runtime?
  • What purpose serves and when is Xbase.genmodel needed at runtime?
  • What purpose serves and when is InternalXbase.g needed at runtime?
  • What purpose serves and when is InternalXtype.tokens needed at runtime?

The documentation of Xtext says nothing aboxt xtextbin, so it is unclear, if this is an intermediary file, or required at runtime. If it is required at runtime, is it necessary only for some operations, or always? If it is necessary only for some operations, which are not supposed to be utilized, then the file can be skipped when distributing software.

The goad should be to guide users what files can be skipped when, while distributing software, so that the distributed software can have smaller size.

$ find . -type f -not -name "*.class"
model/XAnnotations.ecore
model/Xbase.ecore
model/Xtype.ecore
model/Xbase.genmodel
org/eclipse/xtext/xbase/annotations/parser/antlr/internal/DebugInternalXbaseWithAnnotations.g
org/eclipse/xtext/xbase/annotations/parser/antlr/internal/InternalXbaseWithAnnotations.tokens
org/eclipse/xtext/xbase/annotations/parser/antlr/internal/InternalXbaseWithAnnotations.g
org/eclipse/xtext/xbase/annotations/XbaseWithAnnotations.xtextbin
org/eclipse/xtext/xbase/annotations/XbaseWithAnnotations.xtext
org/eclipse/xtext/xbase/parser/antlr/internal/InternalXtype.tokens
org/eclipse/xtext/xbase/parser/antlr/internal/InternalXtype.g
org/eclipse/xtext/xbase/parser/antlr/internal/DebugInternalXbase.g
org/eclipse/xtext/xbase/parser/antlr/internal/InternalXbase.g
org/eclipse/xtext/xbase/parser/antlr/internal/InternalXbase.tokens
org/eclipse/xtext/xbase/Xbase.xtextbin
org/eclipse/xtext/xbase/Xtype.xtext
org/eclipse/xtext/xbase/Xbase.xtext
org/eclipse/xtext/xbase/Xtype.xtextbin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions