[jbossseam-issues] [JBoss JIRA] Reopened: (JBSEAM-916) Build fails doing "seam restart"

eeckmann (JIRA) jira-events at lists.jboss.org
Sun Feb 25 03:51:35 EST 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-916?page=all ]

eeckmann reopened JBSEAM-916:
-----------------------------

             
The code fix is doing: isDeleted() == null ( comparing a boolean to null).

A quick fix for EntityHome.java.ftl would be as follows:

<#foreach property in pojo.identifierProperty.value.propertyIterator>
<#assign getter = pojo.getGetterSignature(property)>
<#assign position = getter?last_index_of("is") >
      <#if position = 0> 
        if ( get${idName}().${getter}()==false ) return false;
      <#else>
        if ( get${idName}().${getter}()==null ) return false;      
      </#if>
</#foreach>



> Build fails doing "seam restart" 
> ---------------------------------
>
>                 Key: JBSEAM-916
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-916
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.6.GA, 1.1.7.CR1
>         Environment: 1.1.7CR1
>            Reporter: eeckmann
>         Assigned To: Gavin King
>            Priority: Critical
>             Fix For: 1.1.7.GA
>
>
> ...
> [hibernate] 10. task: generic exportertemplate: view/layout/menu.xhtml.ftl 
> [javaformatter] Java formatting of 288 files completed. Skipped 0 file(s). 
> [echo] Type 'seam restart' and go to http://localhost:8080/MyNewSeamGenProject 
> BUILD SUCCESSFUL 
> Total time: 51 seconds 
> C:\eclipse321\workspace\jboss-seam>seam restart 
> Buildfile: C:\eclipse321\workspace\jboss-seam\seam-gen\build.xml 
> validate-workspace: 
> validate-project: 
> restart: 
> [echo] Restarting project 'MyNewSeamGenProject' 
> init: 
> compile: 
> [javac] Compiling 288 source files to C:\eclipse321\workspace\MyNewSeamGenProject\exploded-archives\MyNewSeamGe 
> ect.jar 
> [javac] C:\eclipse321\workspace\MyNewSeamGenProject\src\com\mydomain\crm\MyNewSeamGenProject\UsersFeedsHome.jav 
> cannot find symbol 
> [javac] symbol : method getDeleted() 
> [javac] location: class com.mydomain.crm.MyNewSeamGenProject.UsersFeedsId 
> [javac] if (getUsersFeedsId().getDeleted() == null) 
> [javac] ^ 
> [javac] 1 error 
> BUILD FAILED 
> C:\eclipse321\workspace\jboss-seam\seam-gen\build.xml:886: The following error occurred while executing this line: 
> C:\eclipse321\workspace\MyNewSeamGenProject\build.xml:50: Compile failed; see the compiler error output for details 
> Total time: 12 seconds 
> C:\eclipse321\workspace\jboss-seam> 
>  
> Gavin says "Please report this in JIRA, I guess it should be 'isDeleted()'."

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

        



More information about the seam-issues mailing list