Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-659

hello-world example - unexpected behavior

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 1.1.0.CR1
    • 1.1.0.Beta1
    • Examples
    • None

    Description

      According to documentation, the example should print "Hello ${name}" where name is an environment property passed to maven i.e. "mvn -Drun -Dname=Pete". However, the following profile configuration

      <configuration>
      <mainClass>org.jboss.weld.environment.se.StartMain</mainClass>
      <arguments>
      <argument>${project.name}</argument>
      </arguments>
      </configuration>

      results in "Hello Weld Examples: Hello World (Java SE)" to be printed every time independently on the name environment property.

      Attachments

        Activity

          People

            pmuiratbleepbleep Pete Muir (Inactive)
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: