[weld-issues] [JBoss JIRA] Created: (WELD-659) hello-world example - unexpected behavior

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Tue Aug 31 08:24:12 EDT 2010


hello-world example - unexpected behavior
-----------------------------------------

                 Key: WELD-659
                 URL: https://jira.jboss.org/browse/WELD-659
             Project: Weld
          Issue Type: Bug
          Components: Examples
    Affects Versions: 1.1.0.Beta1
            Reporter: Jozef Hartinger
            Priority: Minor
             Fix For: 1.1.0.Beta2


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list