You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-dev@jakarta.apache.org by "Rony G. Flatscher" <Ro...@wu-wien.ac.at> on 2007/11/01 22:38:43 UTC

One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

> With the JDK5/1.4 issue, i've been working on the assumption that the actual
> source code does require JDK5, the JSR-223 spec uses JDK5 specifics  eg the
> Invocable  interface has  invokeFunction(String methodName , Object... args)
> so that just wont compile with pre JDK5 so i run with JDK5 in my build.
> However it looks like the recent patches have removed all the JDK5 specifics
> in the BSF src converting to the JDK14 syntax, except for the code I've
> added recently that you've now found :) If possible I'd like to avoid a
> respin to fix this and just have the limitation that beta2 requires a JDK5
> build environment - the built bsf jars will still work in pre-jdk5. 
This would be fine with me with beta2.

> Still need to find if the compile error you're seeing is a problem and why i'm not getting it.
>   
O.K. I think it was my own fault, as my installation was not that clean
as I have thought :-((
[I had some scripting engines in the ext-directory, which means that
they get picked up before anything outside of the boot and ext directories.]

After removing those scripting engines (among them a JavaScript engine)
the building of the "\bsf-engines-3.0-beta2.jar" package was successful!

---

However, at the moment the building of the tests fails (running with
"mvn -e" with JDK 1.6):

----------- cut here ---------
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache BSF Utils
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory:
F:\download\Apache\bsf\bsf3\bsf-3.0-beta2-src\bsf-utils\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.bsf.xml.JavaScriptXMLHelperTestCase
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.203
sec <<< FAILURE!

Results :
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311
)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.
        at
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:403)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Thu Nov 01 22:35:58 CET 2007
[INFO] Final Memory: 9M/17M
[INFO]
------------------------------------------------------------------------

----------- cut here ---------

Not sure, why this fails.

---rony



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


Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by Ruwan Linton <ru...@gmail.com>.
ant,

It is nice to here that and we are going to depend on bsf-3.0-beta2 and
probably call the vote on synapse after few hours.

Thanks for the tremendous work.

Thanks,
Ruwan

On Nov 8, 2007 2:40 PM, ant elder <an...@gmail.com> wrote:

> The BSF jars have been published to the Apache rsync repo, just need to
> wait till the get replicated everywhere, so you could probably start  having
> Synapse depend on them now.
>
> I'll go look at getting the BSF website updated and sending out the
> release announcement.
>
>    ...ant
>
>
> On Nov 6, 2007 10:38 AM, Ruwan Linton <ru...@gmail.com> wrote:
>
> > When are you planing to do the release. (I mean uploading the artifacts)
> >
> > We (Synapse-1.1) are going to go with the BSF-3.0-beta2 and  we need to
> > call
> > the  VOTE on Thursday.
> >
> > Thanks,
> > Ruwan
> >
> > On Nov 6, 2007 2:58 PM, Sanka Samaranayke <ss...@gmail.com> wrote:
> >
> > >
> > > Here's my +1 for the release.
> > >
> > > Thanks,
> > > Sanka
> > >
> > >
> > >
> > >
> > > Rony G. Flatscher wrote:
> > > >>> I'm guessing that this is due to JDK6 having the inbuilt back
> > level
> > > version of Rhino at 1.6R5 which BSF needs specific code to deal with
> > and
> > > we don't have that yet..
> > > >>>
> > > >>>
> > > > Went back and tried to build the package with JDK 1.5, and lo and
> > behold
> > > > it worked! We should hint at this and go ahead with releasing beta2.
> >
> > > >
> > > > ---rony
> > > >
> > > >
> > >
> > >
> > > --
> > > Sanka Samaranayake
> > > WSO2 Inc.
> > >
> > > http://www.bloglines.com/blog/sanka
> > > http://www.wso2.org/
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: bsf-dev-help@jakarta.apache.org
> > >
> > >
> >
> >
> > --
> > Ruwan Linton
> > http://www.wso2.org - "Oxygenating the Web Services Platform"
> >
>
>


-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by Sanka Samaranayke <ss...@gmail.com>.
Hi,

I am afraid that we need at least three Jakarta-PMC votes, voted for the exact set of (proposed) binaries which will publish as the release.

AFAIR,this requirement came from a higher level of ASF administration due to some legal issues and I think its is a requirement for all ASF projects.

Thanks,
--Sanka


ant elder wrote:
> I thought we needed 3 votes from Jakarta PMC members, we have 2, you and me,
> so need 1 more. That could be wrong so anyone say if think otherwise and
> then we could release now as we've already those 4 votes.
>
>    ...ant
>
> On 11/6/07, Rony G. Flatscher <Ro...@wu-wien.ac.at> wrote:
>   
>> ant,
>>
>> ant elder wrote:
>>     
>>> We still need one more binding vote. I'll ask around but if you know
>>>       
>> anyone
>>     
>>> on the Jakarta PMC feel free to ask them to review and vote.
>>>
>>>       
>> probably it should be o.k. already:
>>
>>     * +1 ant, BSF committer
>>     * +1 Sanka, BSF committer
>>     * +1 rony, BSF committer
>>     * +1 ruwan, not sure whether binding or not
>>
>> Or would we need four binding +1 votes?
>>
>> Regards,
>>
>> ---rony
>>
>>
>>
>>     
>
>   


-- 
Sanka Samaranayake
WSO2 Inc.

http://www.bloglines.com/blog/sanka
http://www.wso2.org/


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


Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by ant elder <an...@gmail.com>.
I thought we needed 3 votes from Jakarta PMC members, we have 2, you and me,
so need 1 more. That could be wrong so anyone say if think otherwise and
then we could release now as we've already those 4 votes.

   ...ant

On 11/6/07, Rony G. Flatscher <Ro...@wu-wien.ac.at> wrote:
>
> ant,
>
> ant elder wrote:
> > We still need one more binding vote. I'll ask around but if you know
> anyone
> > on the Jakarta PMC feel free to ask them to review and vote.
> >
> probably it should be o.k. already:
>
>     * +1 ant, BSF committer
>     * +1 Sanka, BSF committer
>     * +1 rony, BSF committer
>     * +1 ruwan, not sure whether binding or not
>
> Or would we need four binding +1 votes?
>
> Regards,
>
> ---rony
>
>
>

Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by "Rony G. Flatscher" <Ro...@wu-wien.ac.at>.
ant,

ant elder wrote:
> We still need one more binding vote. I'll ask around but if you know anyone
> on the Jakarta PMC feel free to ask them to review and vote.
>   
probably it should be o.k. already:

    * +1 ant, BSF committer
    * +1 Sanka, BSF committer
    * +1 rony, BSF committer
    * +1 ruwan, not sure whether binding or not

Or would we need four binding +1 votes?

Regards,

---rony



Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by ant elder <an...@gmail.com>.
We still need one more binding vote. I'll ask around but if you know anyone
on the Jakarta PMC feel free to ask them to review and vote.

   ...ant

On 11/6/07, Ruwan Linton <ru...@gmail.com> wrote:
>
> When are you planing to do the release. (I mean uploading the artifacts)
>
> We (Synapse-1.1) are going to go with the BSF-3.0-beta2 and  we need to
> call
> the  VOTE on Thursday.
>
> Thanks,
> Ruwan
>
> On Nov 6, 2007 2:58 PM, Sanka Samaranayke <ss...@gmail.com> wrote:
>
> >
> > Here's my +1 for the release.
> >
> > Thanks,
> > Sanka
> >
> >
> >
> >
> > Rony G. Flatscher wrote:
> > >>> I'm guessing that this is due to JDK6 having the inbuilt back level
> > version of Rhino at 1.6R5 which BSF needs specific code to deal with and
> > we don't have that yet..
> > >>>
> > >>>
> > > Went back and tried to build the package with JDK 1.5, and lo and
> behold
> > > it worked! We should hint at this and go ahead with releasing beta2.
> > >
> > > ---rony
> > >
> > >
> >
> >
> > --
> > Sanka Samaranayake
> > WSO2 Inc.
> >
> > http://www.bloglines.com/blog/sanka
> > http://www.wso2.org/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: bsf-dev-help@jakarta.apache.org
> >
> >
>
>
> --
> Ruwan Linton
> http://www.wso2.org - "Oxygenating the Web Services Platform"
>

Re: updating the WWW-site

Posted by Martin van den Bemt <ml...@mvdb.net>.
You are now member of the Jakarta group.

Mvgr,
Martin

Martin van den Bemt wrote:
> Yep that is missing.. I'll do a request later tonight..
> 
> Mvgr,
> Martin
> 
> ant elder wrote:
>> On Nov 22, 2007 2:02 PM, Stefan Bodewig <bo...@apache.org> wrote:
>>
>>> On Thu, 22 Nov 2007, ant elder <an...@gmail.com> wrote:
>>>
>>>> From [1] and [2] either there's a permissions problem or we're
>>>> trying to put things in the wrong place. Stefan, as you sound like
>>>> you know a bit about this could you give any pointers on this?
>>> I assume you are familiar with <http://www.apache.org/dev/> and in
>>> particular <http://www.apache.org/dev/release.html>.  If not, feel
>>> free to ask (though I may not be too fast in answering since my email
>>> time is pretty limited ATM).
>>>
>>> I just had a look at the directories on minotaur and the bsf source
>>> and binaries directories lacked the group write bit, I've just created
>>> new ones with proper permissions and copied over the contents of the
>>> original ones.
>>>
>>> Unfortunately I cannot remove the old directories (I could rename them
>>> and they now live as .binaries and .source), I'll ask infrastructure
>>> to do that - and fix the permissions for the KEYS and README files
>>> while they are at it as well.
>>>
>>> Stefan
>>>
>> Thanks! Though i still don't seem to be able to update those, is that
>> because my id (antelder) isn't in the jakarta group?
>>
>>    ...ant
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: bsf-dev-help@jakarta.apache.org
> 
> 
> 

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


Re: updating the WWW-site

Posted by Martin van den Bemt <ml...@mvdb.net>.
Yep that is missing.. I'll do a request later tonight..

Mvgr,
Martin

ant elder wrote:
> On Nov 22, 2007 2:02 PM, Stefan Bodewig <bo...@apache.org> wrote:
> 
>> On Thu, 22 Nov 2007, ant elder <an...@gmail.com> wrote:
>>
>>> From [1] and [2] either there's a permissions problem or we're
>>> trying to put things in the wrong place. Stefan, as you sound like
>>> you know a bit about this could you give any pointers on this?
>> I assume you are familiar with <http://www.apache.org/dev/> and in
>> particular <http://www.apache.org/dev/release.html>.  If not, feel
>> free to ask (though I may not be too fast in answering since my email
>> time is pretty limited ATM).
>>
>> I just had a look at the directories on minotaur and the bsf source
>> and binaries directories lacked the group write bit, I've just created
>> new ones with proper permissions and copied over the contents of the
>> original ones.
>>
>> Unfortunately I cannot remove the old directories (I could rename them
>> and they now live as .binaries and .source), I'll ask infrastructure
>> to do that - and fix the permissions for the KEYS and README files
>> while they are at it as well.
>>
>> Stefan
>>
> 
> Thanks! Though i still don't seem to be able to update those, is that
> because my id (antelder) isn't in the jakarta group?
> 
>    ...ant
> 

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


Re: updating the WWW-site

Posted by ant elder <an...@apache.org>.
On Nov 22, 2007 2:02 PM, Stefan Bodewig <bo...@apache.org> wrote:

> On Thu, 22 Nov 2007, ant elder <an...@gmail.com> wrote:
>
> > From [1] and [2] either there's a permissions problem or we're
> > trying to put things in the wrong place. Stefan, as you sound like
> > you know a bit about this could you give any pointers on this?
>
> I assume you are familiar with <http://www.apache.org/dev/> and in
> particular <http://www.apache.org/dev/release.html>.  If not, feel
> free to ask (though I may not be too fast in answering since my email
> time is pretty limited ATM).
>
> I just had a look at the directories on minotaur and the bsf source
> and binaries directories lacked the group write bit, I've just created
> new ones with proper permissions and copied over the contents of the
> original ones.
>
> Unfortunately I cannot remove the old directories (I could rename them
> and they now live as .binaries and .source), I'll ask infrastructure
> to do that - and fix the permissions for the KEYS and README files
> while they are at it as well.
>
> Stefan
>

Thanks! Though i still don't seem to be able to update those, is that
because my id (antelder) isn't in the jakarta group?

   ...ant

Re: updating the WWW-site

Posted by "Rony G. Flatscher" <Ro...@wu-wien.ac.at>.
Hi ant,

ant elder wrote:
> It looks like all the permissions issues have been sorted out and the
> website mostly updated now and the release archives put on the distribution
> server . The only left that I can see is to get the download page at
> http://jakarta.apache.org/site/downloads/downloads_bsf.cgi to mention the
> 3.0 release. If I can work out how to get that done is there anything else
> we need to do before sending a belated official announcement email for the
> 3.0 beta2 release?
>   
well, if you manage to get "downloads_bsf.cgi" page to mention both, 2.4
and 3.0beta2, then that is already more than enough!
;)

---rony


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


Re: updating the WWW-site

Posted by ant elder <an...@gmail.com>.
It looks like all the permissions issues have been sorted out and the
website mostly updated now and the release archives put on the distribution
server . The only left that I can see is to get the download page at
http://jakarta.apache.org/site/downloads/downloads_bsf.cgi to mention the
3.0 release. If I can work out how to get that done is there anything else
we need to do before sending a belated official announcement email for the
3.0 beta2 release?

   ...ant

On Nov 22, 2007 8:16 PM, Rony G. Flatscher <Ro...@wu-wien.ac.at>
wrote:

> O.K. now I had been able to upload the bsf-3.0-beta2-* files to
> </www/www.apache.org/dist/jakarta/bsf>!
>
> So  hopefully now everything is in place for picking up the 2.4 and the
> 3.0beta BSF packages.
>
> ---rony
>
>
>
> ant elder wrote:
> > On Nov 22, 2007 9:34 AM, Ulf Dittmer <ul...@ulfdittmer.com> wrote:
> >
> >
> >> Ant said:
> >>
> >>> If we just return to the 2.4 status quo then the 3.0 releases will
> never get
> >>> announced, so unless someone feels particularly strongly about it i'd
> rather
> >>> leave it broken like this as at least then it prompts everyone to help
> try
> >>> to get 3.0 published properly.
> >>>
> >> Am I understanding correctly that you're proposing to leave the
> download page as it is?
> >>
> >
> >
> > >Only until all the  permissions problems get resolved, which sounds
> like it wont be long.
> >
> > >(As an aside, I would argue that even after the 3.0 release, 2.4 should
> remain available, and visibly linked to.)
> >
> > I agree with you,  the 2.x and 3.x  versions have completely different
> APIs
> > so some people will stay on 2.x  for the foreseeable future and we
> should
> > keep both available.
> >
>
>
>

Re: updating the WWW-site

Posted by "Rony G. Flatscher" <Ro...@wu-wien.ac.at>.
O.K. now I had been able to upload the bsf-3.0-beta2-* files to
</www/www.apache.org/dist/jakarta/bsf>!

So  hopefully now everything is in place for picking up the 2.4 and the
3.0beta BSF packages.

---rony



ant elder wrote:
> On Nov 22, 2007 9:34 AM, Ulf Dittmer <ul...@ulfdittmer.com> wrote:
>
>   
>> Ant said:
>>     
>>> If we just return to the 2.4 status quo then the 3.0 releases will never get
>>> announced, so unless someone feels particularly strongly about it i'd rather
>>> leave it broken like this as at least then it prompts everyone to help try
>>> to get 3.0 published properly.
>>>       
>> Am I understanding correctly that you're proposing to leave the download page as it is?
>>     
>
>
> >Only until all the  permissions problems get resolved, which sounds like it wont be long.
>
> >(As an aside, I would argue that even after the 3.0 release, 2.4 should remain available, and visibly linked to.)
>
> I agree with you,  the 2.x and 3.x  versions have completely different APIs
> so some people will stay on 2.x  for the foreseeable future and we should
> keep both available.
>   



Re: updating the WWW-site

Posted by ant elder <an...@gmail.com>.
On Nov 22, 2007 9:34 AM, Ulf Dittmer <ul...@ulfdittmer.com> wrote:

> Ant said:
> > If we just return to the 2.4 status quo then the 3.0 releases will
> > never get
> > announced, so unless someone feels particularly strongly about it
> > i'd rather
> > leave it broken like this as at least then it prompts everyone to
> > help try
> > to get 3.0 published properly.
>
> Am I understanding correctly that you're proposing to leave the
> download page as it is?


Only until all the  permissions problems get resolved, which sounds like it
wont be long.

(As an aside, I would argue that even after the 3.0 release, 2.4
> should remain available, and visibly linked to.)
>

I agree with you,  the 2.x and 3.x  versions have completely different APIs
so some people will stay on 2.x  for the foreseeable future and we should
keep both available.

   ...ant

Re: updating the WWW-site

Posted by Ulf Dittmer <ul...@ulfdittmer.com>.
Ant said:
> If we just return to the 2.4 status quo then the 3.0 releases will  
> never get
> announced, so unless someone feels particularly strongly about it  
> i'd rather
> leave it broken like this as at least then it prompts everyone to  
> help try
> to get 3.0 published properly.

Am I understanding correctly that you're proposing to leave the  
download page as it is? If so, then I do feel strongly that that's  
the wrong thing to do. Many more people are interested in release  
versions than beta versions. There are also plenty of links to that  
page that mention that that's where you can get BSF 2.4. Having to  
follow the "browse download area" or "archive" links is counter- 
intuitive; it looks as if there is no released version right now.

Why not put up the beta version someplace else (I seem to remember  
seeing a link to Ant's personal pages at apache.org that contained  
it), and change the announcement to point to that page?

(As an aside, I would argue that even after the 3.0 release, 2.4  
should remain available, and visibly linked to.)

Ulf


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


Re: updating the WWW-site

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 22 Nov 2007, ant elder <an...@gmail.com> wrote:

> From [1] and [2] either there's a permissions problem or we're
> trying to put things in the wrong place. Stefan, as you sound like
> you know a bit about this could you give any pointers on this?

I assume you are familiar with <http://www.apache.org/dev/> and in
particular <http://www.apache.org/dev/release.html>.  If not, feel
free to ask (though I may not be too fast in answering since my email
time is pretty limited ATM).

I just had a look at the directories on minotaur and the bsf source
and binaries directories lacked the group write bit, I've just created
new ones with proper permissions and copied over the contents of the
original ones.

Unfortunately I cannot remove the old directories (I could rename them
and they now live as .binaries and .source), I'll ask infrastructure
to do that - and fix the permissions for the KEYS and README files
while they are at it as well.

Stefan

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


Re: updating the WWW-site

Posted by ant elder <an...@gmail.com>.
On Nov 22, 2007 5:12 AM, Stefan Bodewig <bo...@apache.org> wrote:

> On Wed, 21 Nov 2007, Rony G. Flatscher <Ro...@wu-wien.ac.at>
> wrote:
> >> I haven't worked on the jakarta site myself in a long time, but I
> >> think you really only need to add back the four removed lines and
> >> regenerate the docs.
> >>
> > The problem has arisen by the
> > "http://jakarta.apache.org/site/downloads/downloads_bsf.cgi" script
> > that seems to get automatically generated when the Jakarta site is
> > refreshed (some Python script on a mirror).
>
> No.
>
> The Python script parses the HTML file generated by the XML file I
> cited in my previous mail[1].  The reason you don't see any links to
> the 2.4 release from the download page anymore is that you (Ant) have
> removed them.
>
> Re-add them and the 2.4 links will show up again.
>
> > The only choice on the "download_bsf.cgi" page is the beta2 of BSF
> > 3.0, leading to one of the mirrors for downloading, but the
> > BSF3-beta2 package is not available from any of those mirrors that
> > get used.
>
> This is a different issue.  Where have you put your release files on
> people.apache.org?
>
> Releases should be in /www/www.apache.org/dist/... since this is where
> the mirrors pick them up.  Looking into
> <http://www.apache.org/dist/jakarta/bsf/> I don't see them and looking
> at the local file system on minotaur (the machine behind our websites)
> I can't find them either.
>
> Stefan
>
> Footnotes:
> [1]
> http://svn.apache.org/viewvc/jakarta/site/xdocs/downloads/downloads.xml?r1=592763&r2=594166
>
>
If we just return to the 2.4 status quo then the 3.0 releases will never get
announced, so unless someone feels particularly strongly about it i'd rather
leave it broken like this as at least then it prompts everyone to help try
to get 3.0 published properly.

>From [1] and [2] either there's a permissions problem or we're trying to put
things in the wrong place. Stefan, as you sound like you know a bit about
this could you give any pointers on this?

   ...ant

[1]
http://mail-archives.apache.org/mod_mbox/jakarta-bsf-dev/200711.mbox/%3c71e1b5740711120725me27b81cv4ee64c55d0b7798d@mail.gmail.com%3e
[2]
http://mail-archives.apache.org/mod_mbox/jakarta-bsf-dev/200711.mbox/%3c47392EA6.8080402@wu-wien.ac.at%3e

Re: updating the WWW-site

Posted by "Rony G. Flatscher" <Ro...@wu-wien.ac.at>.
Hi Stefan,

thank you *very* much for your information and hints!


Stefan Bodewig wrote:
> No.
>
> The Python script parses the HTML file generated by the XML file I
> cited in my previous mail[1].  The reason you don't see any links to
> the 2.4 release from the download page anymore is that you (Ant) have
> removed them.
>
> Re-add them and the 2.4 links will show up again.
>   
In the meantime I re-added them again as per your advice!

>> The only choice on the "download_bsf.cgi" page is the beta2 of BSF
>> 3.0, leading to one of the mirrors for downloading, but the
>> BSF3-beta2 package is not available from any of those mirrors that
>> get used.
>>     
>
> This is a different issue.  Where have you put your release files on
> people.apache.org?
>   
They are here: <http://people.apache.org/~antelder/bsf/3.0-beta2-rc2/>.

> Releases should be in /www/www.apache.org/dist/... since this is where
> the mirrors pick them up.  Looking into
> <http://www.apache.org/dist/jakarta/bsf/> I don't see them and looking
> at the local file system on minotaur (the machine behind our websites)
> I can't find them either.
>   
Just tried to upload them via sftp to
</www/www.apache.org/dist/jakarta/bsf/binaries>, but was unsuccessful to
do it (permission denied error).

Would you have an advice/hint how I should proceed from here?


> Footnotes: 
> [1]  http://svn.apache.org/viewvc/jakarta/site/xdocs/downloads/downloads.xml?r1=592763&r2=594166
>   
That was of great help too, again thank you *very* much!

Regards,

---rony



Re: updating the WWW-site

Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 21 Nov 2007, Rony G. Flatscher <Ro...@wu-wien.ac.at>
wrote:
>> I haven't worked on the jakarta site myself in a long time, but I
>> think you really only need to add back the four removed lines and
>> regenerate the docs.
>>   
> The problem has arisen by the
> "http://jakarta.apache.org/site/downloads/downloads_bsf.cgi" script
> that seems to get automatically generated when the Jakarta site is
> refreshed (some Python script on a mirror).

No.

The Python script parses the HTML file generated by the XML file I
cited in my previous mail[1].  The reason you don't see any links to
the 2.4 release from the download page anymore is that you (Ant) have
removed them.

Re-add them and the 2.4 links will show up again.

> The only choice on the "download_bsf.cgi" page is the beta2 of BSF
> 3.0, leading to one of the mirrors for downloading, but the
> BSF3-beta2 package is not available from any of those mirrors that
> get used.

This is a different issue.  Where have you put your release files on
people.apache.org?

Releases should be in /www/www.apache.org/dist/... since this is where
the mirrors pick them up.  Looking into
<http://www.apache.org/dist/jakarta/bsf/> I don't see them and looking
at the local file system on minotaur (the machine behind our websites)
I can't find them either.

Stefan

Footnotes: 
[1]  http://svn.apache.org/viewvc/jakarta/site/xdocs/downloads/downloads.xml?r1=592763&r2=594166


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


Re: updating the WWW-site

Posted by "Rony G. Flatscher" <Ro...@wu-wien.ac.at>.
> I haven't worked on the jakarta site myself in a long time, but I
> think you really only need to add back the four removed lines and
> regenerate the docs.
>   
The problem has arisen by the
"http://jakarta.apache.org/site/downloads/downloads_bsf.cgi" script that
seems to get automatically generated when the Jakarta site is refreshed
(some Python script on a mirror).

The only choice on the "download_bsf.cgi" page is the beta2 of BSF 3.0,
leading to one of the mirrors for downloading, but the BSF3-beta2
package is not available from any of those mirrors that get used. The
same holds true when going via <http://jakarta.apache.org/site/downloads/>.

On the download page, if clicking on the "browse download area" link
will list the release version of BSF 2.4.

So things are really messed up a little bit at the moment, and (at least
for me) it is not clear why that could happen in the first place (which
would be important to learn in order to not fall into a possible trap in
the future).

---rony


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


Re: updating the WWW-site

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 20 Nov 2007, Rony G. Flatscher <Ro...@wu-wien.ac.at>
wrote:
> Hi Ulf,
>> Now the download page at
>> http://jakarta.apache.org/site/downloads/downloads_bsf.cgi shows
>> only the 3.0 beta, but not the 2.4 release version. That doesn't
>> seem right ... ?
> thanks for pointing that out!
> 
> If anyone has an idea/hint of why this has happened it would be
> really great

Well,
<http://svn.apache.org/viewvc/jakarta/site/xdocs/downloads/downloads.xml?r1=592763&r2=594166>
shows the 2.4 links have been removed.

> (it seems all committers are a little bit greenhorn'ish w.r.t.
> using the infrastructure for publishing).

I haven't worked on the jakarta site myself in a long time, but I
think you really only need to add back the four removed lines and
regenerate the docs.

Stefan

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


Re: updating the WWW-site

Posted by "Rony G. Flatscher" <Ro...@wu-wien.ac.at>.
Hi Ulf,
> Now the download page at
> http://jakarta.apache.org/site/downloads/downloads_bsf.cgi shows only
> the 3.0 beta, but not the 2.4 release version. That doesn't seem right
> ... ?
thanks for pointing that out!

If anyone has an idea/hint of why this has happened it would be really
great (it seems all committers are a little bit greenhorn'ish w.r.t.
using the infrastructure for publishing). 
[Will want to read up all sources on infrastructure for committers to
figure that out, but may take a few days.]

---rony

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


Re: updating the WWW-site

Posted by Ulf Dittmer <ul...@ulfdittmer.com>.
Hi guys-

Now the download page at http://jakarta.apache.org/site/downloads/ 
downloads_bsf.cgi shows only the 3.0 beta, but not the 2.4 release  
version. That doesn't seem right ... ?

Cheers,
Ulf


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


Re: Ad updating the WWW-site ... (Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by "Rony G. Flatscher" <Ro...@wu-wien.ac.at>.
Hi ant,
... cut ...
> Getting a bit further, I've updated  these two:
>
> http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_bsf.html?view=log
> http://svn.apache.org/viewvc/jakarta/bsf/trunk/docs/bsfnews.html?view=log
>
> Doesn't look like i have access to the Jakarta www area or the Jarkate BSF
> download area so can't update the website or copy those or the actual
> distribution artifacts over, eg:
>
>   
>> cp bsf-3.0-beta2-b* /x1/www/www.apache.org/dist/jakarta/bsf/binaries/
>>     
> cp: /x1/www/www.apache.org/dist/jakarta/bsf/binaries/bsf-
> 3.0-beta2-bin.zip.md5:
> Permission denied
>
> Could you do try doing that bit?
>   
Yes, did as far as I could. "bsfnews.html" got updated, although it is
not yet visible via the www site.

---

Unfortunately, I cannot copy the binaries from
"/home/antelder/public_html/bsf/3.0-beta2-rc2/" to
"/www.apache.org/dist/jakarta/bsf/binaries". Seems I do not have enough
rights either (groups yielding: "rony apcvs jakarta member apsite").
:-(
Maybe someone with more power can do that?

Regards,

---rony




Re: Ad updating the WWW-site ... (Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by ant elder <an...@gmail.com>.
On Nov 9, 2007 8:52 PM, Rony G. Flatscher (Apache) <ro...@apache.org> wrote:

> Hi ant,
> > I've updated the news page based on the info at
> >
> http://mail-archives.apache.org/mod_mbox/jakarta-bsf-dev/200710.mbox/%3c470B5ADB.8060403@apache.org%3e
> >
> > I couldn't immediately see how to update the download page so any help
> with
> > getting this updated? See:
> > http://jakarta.apache.org/site/downloads/downloads_bsf.cgi
> >
>
> just looked into it and tried to see where your changes would be
> reflected in the jakarta-/bsf-site, but unfortunately have not been able
> to find anything related to announcing and downloading beta2.
>
> Where and what changes did you apply?
>
> Where would you like to get to see which text? Which URLs should be used
> for downloading the beta package (pointing to
> <http://people.apache.org/~antelder/bsf/3.0-beta2-rc2/<http://people.apache.org/%7Eantelder/bsf/3.0-beta2-rc2/>>?)
> ?
>
> Here are the results of svn info:
>
> ---------------- cut here --------------
> F:\work\svn\bsf>svn info
> Path: .
> URL: https://svn.apache.org/repos/asf/jakarta/bsf/trunk
> Repository Root: https://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 593640
> Node Kind: directory
> Schedule: normal
> Last Changed Author: antelder
> Last Changed Rev: 591065
> Last Changed Date: 2007-11-01 17:06:18 +0100 (Thu, 01 Nov 2007)
>
>
> F:\work\svn\bsf>cd ..\jakarta_site
>
> F:\work\svn\jakarta_site>svn info
> Path: .
> URL: https://svn.apache.org/repos/asf/jakarta/site
> Repository Root: https://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 593643
> Node Kind: directory
> Schedule: normal
> Last Changed Author: olegk
> Last Changed Rev: 592763
> Last Changed Date: 2007-11-07 15:40:14 +0100 (Wed, 07 Nov 2007)
> ---------------- cut here --------------
>
> Will be around tomorrow too, on Sunday on the way to Atlanta and would
> be able to work from there as well.
>
> If everything goes foul, I would try to get an entry under "news"
> informing of the availability of beta2 and supplying the URL you posted.
> Would that be o.k.? In case we could come up with a brief
> press-release-kind of info (BSF3, what is it, what does it allow for,
> present state, where to get), then we could use that as the news item.
>
> Regards,
>
> ---rony
>

Getting a bit further, I've updated  these two:

http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_bsf.html?view=log
http://svn.apache.org/viewvc/jakarta/bsf/trunk/docs/bsfnews.html?view=log

Doesn't look like i have access to the Jakarta www area or the Jarkate BSF
download area so can't update the website or copy those or the actual
distribution artifacts over, eg:

> cp bsf-3.0-beta2-b* /x1/www/www.apache.org/dist/jakarta/bsf/binaries/
cp: /x1/www/www.apache.org/dist/jakarta/bsf/binaries/bsf-
3.0-beta2-bin.zip.md5:
Permission denied

Could you do try doing that bit?

   ...ant

Ad updating the WWW-site ... (Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by "Rony G. Flatscher (Apache)" <ro...@apache.org>.
Hi ant,
> I've updated the news page based on the info at
> http://mail-archives.apache.org/mod_mbox/jakarta-bsf-dev/200710.mbox/%3c470B5ADB.8060403@apache.org%3e
>
> I couldn't immediately see how to update the download page so any help with
> getting this updated? See:
> http://jakarta.apache.org/site/downloads/downloads_bsf.cgi
>   

just looked into it and tried to see where your changes would be
reflected in the jakarta-/bsf-site, but unfortunately have not been able
to find anything related to announcing and downloading beta2.

Where and what changes did you apply?

Where would you like to get to see which text? Which URLs should be used
for downloading the beta package (pointing to
<http://people.apache.org/~antelder/bsf/3.0-beta2-rc2/>?) ?

Here are the results of svn info:

---------------- cut here --------------
F:\work\svn\bsf>svn info
Path: .
URL: https://svn.apache.org/repos/asf/jakarta/bsf/trunk
Repository Root: https://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 593640
Node Kind: directory
Schedule: normal
Last Changed Author: antelder
Last Changed Rev: 591065
Last Changed Date: 2007-11-01 17:06:18 +0100 (Thu, 01 Nov 2007)


F:\work\svn\bsf>cd ..\jakarta_site

F:\work\svn\jakarta_site>svn info
Path: .
URL: https://svn.apache.org/repos/asf/jakarta/site
Repository Root: https://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 593643
Node Kind: directory
Schedule: normal
Last Changed Author: olegk
Last Changed Rev: 592763
Last Changed Date: 2007-11-07 15:40:14 +0100 (Wed, 07 Nov 2007)
---------------- cut here --------------

Will be around tomorrow too, on Sunday on the way to Atlanta and would
be able to work from there as well.

If everything goes foul, I would try to get an entry under "news"
informing of the availability of beta2 and supplying the URL you posted.
Would that be o.k.? In case we could come up with a brief
press-release-kind of info (BSF3, what is it, what does it allow for,
present state, where to get), then we could use that as the news item.

Regards,

---rony



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


Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by ant elder <an...@gmail.com>.
On Nov 8, 2007 6:49 PM, Rony G. Flatscher <Ro...@wu-wien.ac.at>
wrote:

<snip>

> I'll go look at getting the BSF website updated and sending out the
> release
> > announcement.
> >
> If I can help you here, please let me know.
>

I've updated the news page based on the info at
http://mail-archives.apache.org/mod_mbox/jakarta-bsf-dev/200710.mbox/%3c470B5ADB.8060403@apache.org%3e

I couldn't immediately see how to update the download page so any help with
getting this updated? See:
http://jakarta.apache.org/site/downloads/downloads_bsf.cgi


   ...ant

Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by "Rony G. Flatscher" <Ro...@wu-wien.ac.at>.
Hi ant,

ant elder wrote:
> The BSF jars have been published to the Apache rsync repo, just need to wait
> till the get replicated everywhere, so you could probably start  having
> Synapse depend on them now.
>
> I'll go look at getting the BSF website updated and sending out the release
> announcement.
>   
If I can help you here, please let me know.

Also, should we create some sort of a press-release for ApacheCon to
advertise beta2 ?

Regards,

---rony



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


Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by ant elder <an...@gmail.com>.
The BSF jars have been published to the Apache rsync repo, just need to wait
till the get replicated everywhere, so you could probably start  having
Synapse depend on them now.

I'll go look at getting the BSF website updated and sending out the release
announcement.

   ...ant

On Nov 6, 2007 10:38 AM, Ruwan Linton <ru...@gmail.com> wrote:

> When are you planing to do the release. (I mean uploading the artifacts)
>
> We (Synapse-1.1) are going to go with the BSF-3.0-beta2 and  we need to
> call
> the  VOTE on Thursday.
>
> Thanks,
> Ruwan
>
> On Nov 6, 2007 2:58 PM, Sanka Samaranayke <ss...@gmail.com> wrote:
>
> >
> > Here's my +1 for the release.
> >
> > Thanks,
> > Sanka
> >
> >
> >
> >
> > Rony G. Flatscher wrote:
> > >>> I'm guessing that this is due to JDK6 having the inbuilt back level
> > version of Rhino at 1.6R5 which BSF needs specific code to deal with and
> > we don't have that yet..
> > >>>
> > >>>
> > > Went back and tried to build the package with JDK 1.5, and lo and
> behold
> > > it worked! We should hint at this and go ahead with releasing beta2.
> > >
> > > ---rony
> > >
> > >
> >
> >
> > --
> > Sanka Samaranayake
> > WSO2 Inc.
> >
> > http://www.bloglines.com/blog/sanka
> > http://www.wso2.org/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: bsf-dev-help@jakarta.apache.org
> >
> >
>
>
> --
> Ruwan Linton
> http://www.wso2.org - "Oxygenating the Web Services Platform"
>

Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by Ruwan Linton <ru...@gmail.com>.
When are you planing to do the release. (I mean uploading the artifacts)

We (Synapse-1.1) are going to go with the BSF-3.0-beta2 and  we need to call
the  VOTE on Thursday.

Thanks,
Ruwan

On Nov 6, 2007 2:58 PM, Sanka Samaranayke <ss...@gmail.com> wrote:

>
> Here's my +1 for the release.
>
> Thanks,
> Sanka
>
>
>
>
> Rony G. Flatscher wrote:
> >>> I'm guessing that this is due to JDK6 having the inbuilt back level
> version of Rhino at 1.6R5 which BSF needs specific code to deal with and
> we don't have that yet..
> >>>
> >>>
> > Went back and tried to build the package with JDK 1.5, and lo and behold
> > it worked! We should hint at this and go ahead with releasing beta2.
> >
> > ---rony
> >
> >
>
>
> --
> Sanka Samaranayake
> WSO2 Inc.
>
> http://www.bloglines.com/blog/sanka
> http://www.wso2.org/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: bsf-dev-help@jakarta.apache.org
>
>


-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Re: Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by Sanka Samaranayke <ss...@gmail.com>.
Here's my +1 for the release. 

Thanks,
Sanka




Rony G. Flatscher wrote:
>>> I'm guessing that this is due to JDK6 having the inbuilt back level version of Rhino at 1.6R5 which BSF needs specific code to deal with and we don't have that yet..
>>>     
>>>       
> Went back and tried to build the package with JDK 1.5, and lo and behold
> it worked! We should hint at this and go ahead with releasing beta2.
>
> ---rony
>
>   


-- 
Sanka Samaranayake
WSO2 Inc.

http://www.bloglines.com/blog/sanka
http://www.wso2.org/


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


Build o.k. with JDK 1.5 (Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by "Rony G. Flatscher" <Ro...@wu-wien.ac.at>.
>> I'm guessing that this is due to JDK6 having the inbuilt back level version of Rhino at 1.6R5 which BSF needs specific code to deal with and we don't have that yet..
>>     
Went back and tried to build the package with JDK 1.5, and lo and behold
it worked! We should hint at this and go ahead with releasing beta2.

---rony

Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by ant elder <an...@gmail.com>.
On 11/1/07, Rony G. Flatscher <Ro...@wu-wien.ac.at> wrote:
>
>
> >> ----------- cut here ---------
> >>
> >> Not sure, why this fails.
> >>
> >
> >
> > Is there a .txt file in the bsf-utils\target\surefire-reports folder
> with
> > any more info?
> >
>
> Yes, here it is (just did not know where to look, still learning...):
>
> ------------- cut here -------------
>
> -------------------------------------------------------------------------------
> Test set: org.apache.bsf.xml.JavaScriptXMLHelperTestCase
>
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.203
> sec <<< FAILURE!
> testToOmElement(org.apache.bsf.xml.JavaScriptXMLHelperTestCase)  Time
> elapsed: 0.11 sec  <<< ERROR!
> javax.script.ScriptException:
> sun.org.mozilla.javascript.internal.EvaluatorException: syntax error
> (<Unknown source>#1) in <Unknown source> at line number 1
>     at
> com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java
> :110)
>     at
> com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java
> :124)
>     at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java
> :247)
>     at
> org.apache.bsf.xml.JavaScriptXMLHelperTestCase.testToOmElement(
> JavaScriptXMLHelperTestCase.java:41)
>
> testToScriptXML(org.apache.bsf.xml.JavaScriptXMLHelperTestCase)  Time
> elapsed: 0.062 sec  <<< ERROR!
> com.sun.phobos.script.util.ExtendedScriptException:
> org.mozilla.javascript.EcmaError: ReferenceError: "XML" is not defined.
> (<Unknown source>#1) in <Unknown source> at line number 1
>     at
> com.sun.phobos.script.javascript.RhinoScriptEngine.eval(
> RhinoScriptEngine.java:184)
>     at
> com.sun.phobos.script.javascript.RhinoScriptEngine.eval(
> RhinoScriptEngine.java:198)
>     at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java
> :247)
>     at
> org.apache.bsf.xml.JavaScriptXMLHelperTestCase.testToScriptXML(
> JavaScriptXMLHelperTestCase.java:50)
> ------------- cut here -------------
>
> Does this help?
> (If not, I could send the XML-file which also has all the relevant Java
> properties.)
>
> ---rony
>
>
> I'm guessing that this is due to JDK6 having the inbuilt back level
version of Rhino at 1.6R5 which BSF needs specific code to deal with and we
don't have that yet..

   ...ant

Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by "Rony G. Flatscher" <Ro...@wu-wien.ac.at>.
>> ----------- cut here ---------
>>
>> Not sure, why this fails.
>>     
>
>
> Is there a .txt file in the bsf-utils\target\surefire-reports folder with
> any more info?
>   

Yes, here it is (just did not know where to look, still learning...):

------------- cut here -------------
-------------------------------------------------------------------------------
Test set: org.apache.bsf.xml.JavaScriptXMLHelperTestCase
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.203
sec <<< FAILURE!
testToOmElement(org.apache.bsf.xml.JavaScriptXMLHelperTestCase)  Time
elapsed: 0.11 sec  <<< ERROR!
javax.script.ScriptException:
sun.org.mozilla.javascript.internal.EvaluatorException: syntax error
(<Unknown source>#1) in <Unknown source> at line number 1
    at
com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:110)
    at
com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:124)
    at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
    at
org.apache.bsf.xml.JavaScriptXMLHelperTestCase.testToOmElement(JavaScriptXMLHelperTestCase.java:41)

testToScriptXML(org.apache.bsf.xml.JavaScriptXMLHelperTestCase)  Time
elapsed: 0.062 sec  <<< ERROR!
com.sun.phobos.script.util.ExtendedScriptException:
org.mozilla.javascript.EcmaError: ReferenceError: "XML" is not defined.
(<Unknown source>#1) in <Unknown source> at line number 1
    at
com.sun.phobos.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:184)
    at
com.sun.phobos.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:198)
    at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
    at
org.apache.bsf.xml.JavaScriptXMLHelperTestCase.testToScriptXML(JavaScriptXMLHelperTestCase.java:50)
------------- cut here -------------

Does this help?
(If not, I could send the XML-file which also has all the relevant Java
properties.)

---rony



Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2

Posted by ant elder <an...@gmail.com>.
On 11/1/07, Rony G. Flatscher <Ro...@wu-wien.ac.at> wrote:
>
>
> > With the JDK5/1.4 issue, i've been working on the assumption that the
> actual
> > source code does require JDK5, the JSR-223 spec uses JDK5 specifics  eg
> the
> > Invocable  interface has  invokeFunction(String methodName , Object...
> args)
> > so that just wont compile with pre JDK5 so i run with JDK5 in my build.
> > However it looks like the recent patches have removed all the JDK5
> specifics
> > in the BSF src converting to the JDK14 syntax, except for the code I've
> > added recently that you've now found :) If possible I'd like to avoid a
> > respin to fix this and just have the limitation that beta2 requires a
> JDK5
> > build environment - the built bsf jars will still work in pre-jdk5.
> This would be fine with me with beta2.
>
> > Still need to find if the compile error you're seeing is a problem and
> why i'm not getting it.
> >
> O.K. I think it was my own fault, as my installation was not that clean
> as I have thought :-((
> [I had some scripting engines in the ext-directory, which means that
> they get picked up before anything outside of the boot and ext
> directories.]
>
> After removing those scripting engines (among them a JavaScript engine)
> the building of the "\bsf-engines-3.0-beta2.jar" package was successful!
>
> ---
>
> However, at the moment the building of the tests fails (running with
> "mvn -e" with JDK 1.6):
>
> ----------- cut here ---------
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] Building Apache BSF Utils
> [INFO]    task-segment: [install]
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> F:\download\Apache\bsf\bsf3\bsf-
> 3.0-beta2-src\bsf-utils\target\surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.bsf.xml.JavaScriptXMLHelperTestCase
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.203
> sec <<< FAILURE!
>
> Results :
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:560)
>         at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:480)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:459)
>         at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:311
> )
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test
> failures.
>         at
> org.apache.maven.plugin.surefire.SurefirePlugin.execute(
> SurefirePlugin.java:403)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:420)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:539)
>         ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Thu Nov 01 22:35:58 CET 2007
> [INFO] Final Memory: 9M/17M
> [INFO]
> ------------------------------------------------------------------------
>
> ----------- cut here ---------
>
> Not sure, why this fails.


Is there a .txt file in the bsf-utils\target\surefire-reports folder with
any more info?

   ...ant