You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2006/03/28 11:36:25 UTC

svn commit: r389454 - in /lenya/trunk/tools/configure: build/classes/org/apache/lenya/config/BuildPropertiesConfiguration.class src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java

Author: michi
Date: Tue Mar 28 01:36:24 2006
New Revision: 389454

URL: http://svn.apache.org/viewcvs?rev=389454&view=rev
Log:
lenya.revision added

Modified:
    lenya/trunk/tools/configure/build/classes/org/apache/lenya/config/BuildPropertiesConfiguration.class
    lenya/trunk/tools/configure/src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java

Modified: lenya/trunk/tools/configure/build/classes/org/apache/lenya/config/BuildPropertiesConfiguration.class
URL: http://svn.apache.org/viewcvs/lenya/trunk/tools/configure/build/classes/org/apache/lenya/config/BuildPropertiesConfiguration.class?rev=389454&r1=389453&r2=389454&view=diff
==============================================================================
Binary files - no diff available.

Modified: lenya/trunk/tools/configure/src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/tools/configure/src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java?rev=389454&r1=389453&r2=389454&view=diff
==============================================================================
--- lenya/trunk/tools/configure/src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java (original)
+++ lenya/trunk/tools/configure/src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java Tue Mar 28 01:36:24 2006
@@ -45,15 +45,19 @@
      *
      */
     public Parameter[] getConfigurableParameters() {
-        Parameter[] p = new Parameter[5];
+        Parameter[] p = new Parameter[6];
+
         p[0] = getParameter("cocoon.src.dir");
         p[1] = getParameter("pubs.root.dirs");
         p[2] = getParameter("modules.root.dirs");
+
         p[3] = new ServerParameter();
 	p[3].setName(getParameter("web.app.server").getName());
 	p[3].setDefaultValue(getParameter("web.app.server").getDefaultValue());
 	p[3].setLocalValue(getParameter("web.app.server").getLocalValue());
+
         p[4] = getParameter("enable.uploads");
+        p[5] = getParameter("lenya.revision");
         return p;
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org


Re: 1.4 is not building anymore (was Re: svn commit: r389454)

Posted by Thorsten Scherler <th...@wyona.com>.
El mié, 29-03-2006 a las 07:51 -0500, Doug Chestnut escribió:
> Hi Thorsten,
> I ran into this problem, and found that it was caused by the .project 
> file from eclipse (which I use to maintain my pubs).  I just added 
> .project to the list of excludes:
> 
> excludes="CVS,.svn,.project,cocoon-xconf,lenya-roles,local.publication.xconf"/>
> 
> HTH
> --Doug

Thanks Doug, yes it helped. ;)

My problem was that I had a sopy (backup) of one of my pubs and that was
causing this.

Anyway I will add ".project" to the excludes, thanks for pointing this
out.

Maybe it makes sense to actually add ".*" to the excludes.

salu2 and thanks again


> 
> Thorsten Scherler wrote:
> > El mié, 29-03-2006 a las 14:20 +0200, Thorsten Scherler escribió:
> > 
> >>El mié, 29-03-2006 a las 13:54 +0200, Thorsten Scherler escribió:
> >>
> >>>El mar, 28-03-2006 a las 09:36 +0000, michi@apache.org escribió:
> >>>
> >>>>Author: michi
> >>>>Date: Tue Mar 28 01:36:24 2006
> >>>>New Revision: 389454
> >>>>
> >>>>URL: http://svn.apache.org/viewcvs?rev=389454&view=rev
> >>>>Log:
> >>>>lenya.revision added
> >>>>
> >>>>Modified:
> >>>>    lenya/trunk/tools/configure/build/classes/org/apache/lenya/config/BuildPropertiesConfiguration.class
> >>>>    lenya/trunk/tools/configure/src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java
> >>>
> >>>Since this commit I cannot build lenya anymore.
> >>>
> >>>{trunk}/src/targets/webapp-build.xml:50: NPE
> >>>
> >>>Any ideas how to fix this?
> >>
> >>./configure.sh
> >>
> >>Fixed that for me.
> > 
> > 
> > ...but only till the next ./build.sh clean
> > 
> > As soon as I remove the l.b.p I can build again.
> > 
> > salu2
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: 1.4 is not building anymore (was Re: svn commit: r389454)

Posted by Doug Chestnut <dh...@virginia.edu>.

Michael Wechner wrote:
> Doug Chestnut wrote:
> 
>> Hi Thorsten,
>> I ran into this problem, and found that it was caused by the .project 
>> file from eclipse (which I use to maintain my pubs).  I just added 
>> .project to the list of excludes:
>>
>> excludes="CVS,.svn,.project,cocoon-xconf,lenya-roles,local.publication.xconf"/> 
>>
> 
> 
> 
> I don't fully understand how these two things are being related?

I don't think that this ended up being Thorsten's problem, but, I got 
the same error

{trunk}/src/targets/webapp-build.xml:50: NPE

When building with a .project file in my pub directory.  I don't believe 
my error was from any particular commit, most likely my misuse of 
eclipse ;).

--Doug

> 
> Thanks
> 
> Michi
> 
>>
>> HTH
>> --Doug
>>
>> Thorsten Scherler wrote:
>>
>>> El mié, 29-03-2006 a las 14:20 +0200, Thorsten Scherler escribió:
>>>
>>>> El mié, 29-03-2006 a las 13:54 +0200, Thorsten Scherler escribió:
>>>>
>>>>> El mar, 28-03-2006 a las 09:36 +0000, michi@apache.org escribió:
>>>>>
>>>>>> Author: michi
>>>>>> Date: Tue Mar 28 01:36:24 2006
>>>>>> New Revision: 389454
>>>>>>
>>>>>> URL: http://svn.apache.org/viewcvs?rev=389454&view=rev
>>>>>> Log:
>>>>>> lenya.revision added
>>>>>>
>>>>>> Modified:
>>>>>>    
>>>>>> lenya/trunk/tools/configure/build/classes/org/apache/lenya/config/BuildPropertiesConfiguration.class 
>>>>>>
>>>>>>    
>>>>>> lenya/trunk/tools/configure/src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java 
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Since this commit I cannot build lenya anymore.
>>>>>
>>>>> {trunk}/src/targets/webapp-build.xml:50: NPE
>>>>>
>>>>> Any ideas how to fix this?
>>>>
>>>>
>>>>
>>>> ./configure.sh
>>>>
>>>> Fixed that for me.
>>>
>>>
>>>
>>>
>>> ...but only till the next ./build.sh clean
>>>
>>> As soon as I remove the l.b.p I can build again.
>>>
>>> salu2
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>>
>>
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: 1.4 is not building anymore (was Re: svn commit: r389454)

Posted by Michael Wechner <mi...@wyona.com>.
Doug Chestnut wrote:

> Hi Thorsten,
> I ran into this problem, and found that it was caused by the .project 
> file from eclipse (which I use to maintain my pubs).  I just added 
> .project to the list of excludes:
>
> excludes="CVS,.svn,.project,cocoon-xconf,lenya-roles,local.publication.xconf"/> 
>


I don't fully understand how these two things are being related?

Thanks

Michi

>
> HTH
> --Doug
>
> Thorsten Scherler wrote:
>
>> El mié, 29-03-2006 a las 14:20 +0200, Thorsten Scherler escribió:
>>
>>> El mié, 29-03-2006 a las 13:54 +0200, Thorsten Scherler escribió:
>>>
>>>> El mar, 28-03-2006 a las 09:36 +0000, michi@apache.org escribió:
>>>>
>>>>> Author: michi
>>>>> Date: Tue Mar 28 01:36:24 2006
>>>>> New Revision: 389454
>>>>>
>>>>> URL: http://svn.apache.org/viewcvs?rev=389454&view=rev
>>>>> Log:
>>>>> lenya.revision added
>>>>>
>>>>> Modified:
>>>>>    
>>>>> lenya/trunk/tools/configure/build/classes/org/apache/lenya/config/BuildPropertiesConfiguration.class 
>>>>>
>>>>>    
>>>>> lenya/trunk/tools/configure/src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java 
>>>>>
>>>>
>>>>
>>>> Since this commit I cannot build lenya anymore.
>>>>
>>>> {trunk}/src/targets/webapp-build.xml:50: NPE
>>>>
>>>> Any ideas how to fix this?
>>>
>>>
>>> ./configure.sh
>>>
>>> Fixed that for me.
>>
>>
>>
>> ...but only till the next ./build.sh clean
>>
>> As soon as I remove the l.b.p I can build again.
>>
>> salu2
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: 1.4 is not building anymore (was Re: svn commit: r389454)

Posted by Doug Chestnut <dh...@virginia.edu>.
Hi Thorsten,
I ran into this problem, and found that it was caused by the .project 
file from eclipse (which I use to maintain my pubs).  I just added 
.project to the list of excludes:

excludes="CVS,.svn,.project,cocoon-xconf,lenya-roles,local.publication.xconf"/>

HTH
--Doug

Thorsten Scherler wrote:
> El mié, 29-03-2006 a las 14:20 +0200, Thorsten Scherler escribió:
> 
>>El mié, 29-03-2006 a las 13:54 +0200, Thorsten Scherler escribió:
>>
>>>El mar, 28-03-2006 a las 09:36 +0000, michi@apache.org escribió:
>>>
>>>>Author: michi
>>>>Date: Tue Mar 28 01:36:24 2006
>>>>New Revision: 389454
>>>>
>>>>URL: http://svn.apache.org/viewcvs?rev=389454&view=rev
>>>>Log:
>>>>lenya.revision added
>>>>
>>>>Modified:
>>>>    lenya/trunk/tools/configure/build/classes/org/apache/lenya/config/BuildPropertiesConfiguration.class
>>>>    lenya/trunk/tools/configure/src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java
>>>
>>>Since this commit I cannot build lenya anymore.
>>>
>>>{trunk}/src/targets/webapp-build.xml:50: NPE
>>>
>>>Any ideas how to fix this?
>>
>>./configure.sh
>>
>>Fixed that for me.
> 
> 
> ...but only till the next ./build.sh clean
> 
> As soon as I remove the l.b.p I can build again.
> 
> salu2

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: 1.4 is not building anymore (was Re: svn commit: r389454)

Posted by Thorsten Scherler <th...@wyona.com>.
El mié, 29-03-2006 a las 14:20 +0200, Thorsten Scherler escribió:
> El mié, 29-03-2006 a las 13:54 +0200, Thorsten Scherler escribió:
> > El mar, 28-03-2006 a las 09:36 +0000, michi@apache.org escribió:
> > > Author: michi
> > > Date: Tue Mar 28 01:36:24 2006
> > > New Revision: 389454
> > > 
> > > URL: http://svn.apache.org/viewcvs?rev=389454&view=rev
> > > Log:
> > > lenya.revision added
> > > 
> > > Modified:
> > >     lenya/trunk/tools/configure/build/classes/org/apache/lenya/config/BuildPropertiesConfiguration.class
> > >     lenya/trunk/tools/configure/src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java
> > 
> > Since this commit I cannot build lenya anymore.
> > 
> > {trunk}/src/targets/webapp-build.xml:50: NPE
> > 
> > Any ideas how to fix this?
> 
> ./configure.sh
> 
> Fixed that for me.

...but only till the next ./build.sh clean

As soon as I remove the l.b.p I can build again.

salu2
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: 1.4 is not building anymore (was Re: svn commit: r389454)

Posted by Thorsten Scherler <th...@wyona.com>.
El mié, 29-03-2006 a las 13:54 +0200, Thorsten Scherler escribió:
> El mar, 28-03-2006 a las 09:36 +0000, michi@apache.org escribió:
> > Author: michi
> > Date: Tue Mar 28 01:36:24 2006
> > New Revision: 389454
> > 
> > URL: http://svn.apache.org/viewcvs?rev=389454&view=rev
> > Log:
> > lenya.revision added
> > 
> > Modified:
> >     lenya/trunk/tools/configure/build/classes/org/apache/lenya/config/BuildPropertiesConfiguration.class
> >     lenya/trunk/tools/configure/src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java
> 
> Since this commit I cannot build lenya anymore.
> 
> {trunk}/src/targets/webapp-build.xml:50: NPE
> 
> Any ideas how to fix this?

./configure.sh

Fixed that for me.

salu2
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


1.4 is not building anymore (was Re: svn commit: r389454)

Posted by Thorsten Scherler <th...@wyona.com>.
El mar, 28-03-2006 a las 09:36 +0000, michi@apache.org escribió:
> Author: michi
> Date: Tue Mar 28 01:36:24 2006
> New Revision: 389454
> 
> URL: http://svn.apache.org/viewcvs?rev=389454&view=rev
> Log:
> lenya.revision added
> 
> Modified:
>     lenya/trunk/tools/configure/build/classes/org/apache/lenya/config/BuildPropertiesConfiguration.class
>     lenya/trunk/tools/configure/src/java/org/apache/lenya/config/BuildPropertiesConfiguration.java

Since this commit I cannot build lenya anymore.

{trunk}/src/targets/webapp-build.xml:50: NPE

Any ideas how to fix this?

salu2
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org