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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to