You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2006/01/11 00:02:08 UTC

svn commit: r367824 - in /incubator/tobago/trunk: tobago-core/pom.xml tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java

Author: bommel
Date: Tue Jan 10 15:01:46 2006
New Revision: 367824

URL: http://svn.apache.org/viewcvs?rev=367824&view=rev
Log:
added resourceTargetPath to maven-apt-plugin

Modified:
    incubator/tobago/trunk/tobago-core/pom.xml
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java
    incubator/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java

Modified: incubator/tobago/trunk/tobago-core/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/pom.xml?rev=367824&r1=367823&r2=367824&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/pom.xml (original)
+++ incubator/tobago/trunk/tobago-core/pom.xml Tue Jan 10 15:01:46 2006
@@ -39,7 +39,8 @@
             <targetFile>org/apache/myfaces/tobago/taglib/component/tobago.tld</targetFile>
             <targetFile>org/apache/myfaces/tobago/taglib/extension/tobago-extension.tld</targetFile>
           </targetFiles>
-          <generated>target/classes/META-INF</generated>
+          <resourceTargetPath>META-INF</resourceTargetPath>
+          <generated>target/generated-tld</generated>
           <factory>org.apache.myfaces.tobago.apt.TaglibAnnotationProcessorFactory</factory>
           <nocompile>true</nocompile>
           <encoding>UTF-8</encoding>

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java?rev=367824&r1=367823&r2=367824&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java Tue Jan 10 15:01:46 2006
@@ -32,10 +32,12 @@
 
   public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.Form";
 
-  // TODO can this removed?
+
   public void processDecodes(FacesContext facesContext) {
 
-    // Process this component itself
+    // Process this component first
+    // to know the active actionId
+    // for the following childrend
     decode(facesContext);
 
     Iterator kids = getFacetsAndChildren();

Modified: incubator/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java?rev=367824&r1=367823&r2=367824&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java (original)
+++ incubator/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java Tue Jan 10 15:01:46 2006
@@ -48,12 +48,18 @@
     private String generated;
 
     /**
-     *  A List of tagetFiles for SingleSourceTargetMapping
+     *  A List of targetFiles for SingleSourceTargetMapping
      *
      * @parameter
      */
     private List targetFiles;
     /**
+     *  targetPath for generated resources
+     *
+     * @parameter
+     */
+    private String resourceTargetPath;
+    /**
      * The source directories containing the sources to be compiled.
      * 
      * @parameter expression="${project.compileSourceRoots}"
@@ -106,6 +112,10 @@
         super.execute();
         project.addCompileSourceRoot( getGenerated() );
         Resource resource = new Resource();
+        if ( resourceTargetPath != null )
+        {
+            resource.setTargetPath(resourceTargetPath);
+        }
         resource.setDirectory( getGenerated() );
         resource.addExclude( "**/*.java" );
         project.addResource( resource );



Re: svn commit: r367824 - in /incubator/tobago/trunk: tobago-core/pom.xml tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java

Posted by Volker Weber <us...@weber-oldenburg.de>.
No, this was the first i did after 'svn up'. And just checked it again.

But your last commnit (r368059) has fix this.

Thanks and regards,

  Volker

Bernd Bohmann wrote:
> A mvn clean install in tobago doesn't help?
> 
> Bernd
> 
> Volker Weber schrieb:
> 
>> weber@debian:~/java/tobago$ mvn --version
>> Maven version: 2.0.1
>>
>>
>> Bernd Bohmann wrote:
>>
>>> Hello Volker,
>>>
>>> which version of maven you are using?
>>>
>>> Bernd
>>>
>>> Volker Weber schrieb:
>>>
>>>
>>>> Hi Bernd,
>>>>
>>>> after updating this morning the tld files are missing in the
>>>> tobago-core.jar.
>>>>
>>>> Any idea whats going wrong?
>>>>
>>>> After reverting the changes in AptMojo.java and pom.xml i got them
>>>> back.
>>>>
>>>> Regards,
>>>>  Volker
>>>>
>>>> bommel@apache.org wrote:
>>>>
>>>>
>>>>> Author: bommel
>>>>> Date: Tue Jan 10 15:01:46 2006
>>>>> New Revision: 367824
>>>>>
>>>>> URL: http://svn.apache.org/viewcvs?rev=367824&view=rev
>>>>> Log:
>>>>> added resourceTargetPath to maven-apt-plugin
>>>>>
>>>>> Modified:
>>>>>   incubator/tobago/trunk/tobago-core/pom.xml
>>>>>  
>>>>> incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java
>>>>>
>>>>>
>>>>>  
>>>>> incubator/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>
> 

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.

Re: svn commit: r367824 - in /incubator/tobago/trunk: tobago-core/pom.xml tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java

Posted by Bernd Bohmann <be...@atanion.com>.
A mvn clean install in tobago doesn't help?

Bernd

Volker Weber schrieb:
> weber@debian:~/java/tobago$ mvn --version
> Maven version: 2.0.1
> 
> 
> Bernd Bohmann wrote:
> 
>>Hello Volker,
>>
>>which version of maven you are using?
>>
>>Bernd
>>
>>Volker Weber schrieb:
>>
>>
>>>Hi Bernd,
>>>
>>>after updating this morning the tld files are missing in the
>>>tobago-core.jar.
>>>
>>>Any idea whats going wrong?
>>>
>>>After reverting the changes in AptMojo.java and pom.xml i got them back.
>>>
>>>Regards,
>>>  Volker
>>>
>>>bommel@apache.org wrote:
>>>
>>>
>>>>Author: bommel
>>>>Date: Tue Jan 10 15:01:46 2006
>>>>New Revision: 367824
>>>>
>>>>URL: http://svn.apache.org/viewcvs?rev=367824&view=rev
>>>>Log:
>>>>added resourceTargetPath to maven-apt-plugin
>>>>
>>>>Modified:
>>>>   incubator/tobago/trunk/tobago-core/pom.xml
>>>>  
>>>>incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java
>>>>
>>>>  
>>>>incubator/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java
>>>>
>>>>
>>>
>>>
> 

-- 
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333

Re: svn commit: r367824 - in /incubator/tobago/trunk: tobago-core/pom.xml tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java

Posted by Volker Weber <us...@weber-oldenburg.de>.
weber@debian:~/java/tobago$ mvn --version
Maven version: 2.0.1


Bernd Bohmann wrote:
> Hello Volker,
> 
> which version of maven you are using?
> 
> Bernd
> 
> Volker Weber schrieb:
> 
>> Hi Bernd,
>>
>> after updating this morning the tld files are missing in the
>> tobago-core.jar.
>>
>> Any idea whats going wrong?
>>
>> After reverting the changes in AptMojo.java and pom.xml i got them back.
>>
>> Regards,
>>   Volker
>>
>> bommel@apache.org wrote:
>>
>>> Author: bommel
>>> Date: Tue Jan 10 15:01:46 2006
>>> New Revision: 367824
>>>
>>> URL: http://svn.apache.org/viewcvs?rev=367824&view=rev
>>> Log:
>>> added resourceTargetPath to maven-apt-plugin
>>>
>>> Modified:
>>>    incubator/tobago/trunk/tobago-core/pom.xml
>>>   
>>> incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java
>>>
>>>   
>>> incubator/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java
>>>
>>>
>>
>>
> 

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.

Re: svn commit: r367824 - in /incubator/tobago/trunk: tobago-core/pom.xml tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java

Posted by Bernd Bohmann <be...@atanion.com>.
Hello Volker,

which version of maven you are using?

Bernd

Volker Weber schrieb:
> Hi Bernd,
> 
> after updating this morning the tld files are missing in the
> tobago-core.jar.
> 
> Any idea whats going wrong?
> 
> After reverting the changes in AptMojo.java and pom.xml i got them back.
> 
> Regards,
>   Volker
> 
> bommel@apache.org wrote:
> 
>>Author: bommel
>>Date: Tue Jan 10 15:01:46 2006
>>New Revision: 367824
>>
>>URL: http://svn.apache.org/viewcvs?rev=367824&view=rev
>>Log:
>>added resourceTargetPath to maven-apt-plugin
>>
>>Modified:
>>    incubator/tobago/trunk/tobago-core/pom.xml
>>    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java
>>    incubator/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java
>>
> 
> 

-- 
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333

Re: svn commit: r367824 - in /incubator/tobago/trunk: tobago-core/pom.xml tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java

Posted by Volker Weber <us...@weber-oldenburg.de>.
Hi Bernd,

after updating this morning the tld files are missing in the
tobago-core.jar.

Any idea whats going wrong?

After reverting the changes in AptMojo.java and pom.xml i got them back.

Regards,
  Volker

bommel@apache.org wrote:
> Author: bommel
> Date: Tue Jan 10 15:01:46 2006
> New Revision: 367824
> 
> URL: http://svn.apache.org/viewcvs?rev=367824&view=rev
> Log:
> added resourceTargetPath to maven-apt-plugin
> 
> Modified:
>     incubator/tobago/trunk/tobago-core/pom.xml
>     incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java
>     incubator/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/maven/plugin/AptMojo.java
> 

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.