lib/reality/generators/standard_artifact_dsl.rb
#
# Define a java artifact. This is a wrapper around the artifact() method
# that makes additional assumptions for java based artifacts. This method
# assumes a maven-style file system layout (i.e. java is stored in main/java or test/java).
# It also assumes that the facet has the fully qualified name of the artifact in a method
# named with the convention "qualified_<artifact_key>_name"
#
# The options supported include those supplied to the artifact method plus:
# * :artifact_category - The option must be one of :main or :test and determines which source hierarchy the code is added to.
#
Define a java artifact. This is a wrapper around the artifact() method
that makes additional assumptions for java based artifacts. This method
assumes a maven-style file system layout .
It also assumes that the facet has the fully qualified name of the artifact in a method
named with the convention "qualified__name"

The options supported include those supplied to the artifact method plus:
:artifact_category - The option must be one of :main or :test and determines which source hierarchy the code is added to.
Define a java artifact . This is a wrapper around the artifact () method that makes additional assumptions for java based artifacts . This method assumes a maven - style file system layout . It also assumes that the facet has the fully qualified name of the artifact in a method named with the convention " qualified__name " The options supported include those supplied to the artifact method plus : : artifact_category - The option must be one of : main or : test and determines which source hierarchy the code is added to .
def template_set_helpers(options = {})
        template_set_container.
          derive_default_helpers(options.merge(:artifact_type => self.target_key, :facet_key => self.facet_key)) +
          (options[:helpers].nil? ? [] : options[:helpers])
      end
def template_set_helpers ( options = { } ) template_set_container . derive_default_helpers ( options . merge ( :artifact_type => self . target_key , :facet_key => self . facet_key ) ) + ( options [ :helpers ] . nil? ? [ ] : options [ :helpers ] ) end
Define a java artifact.
Define a java artifact .
options
<not_specific>