Re: [VFS] Ftp problems - Could not determine if file ... is writeable and StackOverflowError.

2007-03-02 Thread Mario Ivankovits
Hi !
DefaultFileSystemManager xInstance = new
 DefaultFileSystemManager();
xInstance.setFilesCache(new NullFilesCache());
xInstance.addProvider(ftp, new FtpFileProvider());
xInstance.init();
Not sure if its related, but you don't you just use VFS.getManager(),
instead of creating it manually.

At least the NullFilesCache might be the problem. In fact the only
REALLY working cache implementation is the SoftRefFilesCache.

Sh***, I've forgot to remove the other ones before the release .

Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: MyFaces Fusion Naming

2007-03-02 Thread Mario Ivankovits
Hi Craig!

 One thing I've wondered as I've watched the fusion stuff go by ... in
 an architecture that is so heavily based on Spring 2 already, why
 wasn't Spring Web Flow used?
Don't know much about SWF, but we had a meeting with Jürgen Höller from
interface21 where he helped designing the integration of the
conversation scope with Spring including the persistence stuff.
If SWF would have been possible to do this he would have said it.

Also Fusion do depend on Spring 2, but not that hard ... for sure, it
uses its possibility to create custom scopes and makes use of their
persistence framework, though, its still modular enough that - if JSF
will ever allow custom scopes - it can be plugged in there too.

What might be possible is, that SWF make use of this new scope too -
Fusion is also designed in a way that you can replace the web framework
(in the important area).
Maybe (I hope for the future) shale-dialog can make use of this scope
too, and can provide a solution for the persistence that way.

Ciao,
Mario



Re: SubmitOnEvent doesn't work as child of h:selectOneMenu without explicit id

2007-03-02 Thread Mario Ivankovits
Hi Mike!
 SubmitOnEvent doesn't work as child of h:selectOneMenu without
 explicit id.  If 'id=choiceInput' is removed from the example code
 below, no submit occurs.
Strange thing, I tested it now with the following thing

h:selectOneMenu
value=#{configuratorData.selectedComponent}
f:selectItems
value=#{configuratorData.components} /
s:submitOnEvent
event=change
for=showPieces /
/h:selectOneMenu

and it worked. At least with the latest sandbox.
AFAIK you use a older version of the sandbox, is this true for this
project too? Maybe I changed something in the meantime.

If not, could you please check if the submitOnEvent javascript code has
been rendered to the html, must look like something like:

setTimeout(orgApacheMyfacesSubmitOnEventRegister('change','','_idJsp14:_idJsp19','_idJsp14:showPieces');,
 50)


Thanks!

Ciao,
Mario



Re: MyFaces Fusion Naming

2007-03-02 Thread Mario Ivankovits
Hi Craig!
 That's where I don't understand Fusion enough to comment ... it
 originally appeared to me that the key value add was allocating the
 entity manager on the way in (when you created the conversation), and
 cleaning up afterwards when the conversation ended.
Yes, this is one of the things we do, the other thing is, that we have
to ensure for each call into the conversation scoped bean that this
entity manager has been set to the thread so that the following classes
will see this entity manager.
This is where the Spring aop stuff provides REALLY nice things.

That way, its possible to work with multiple conversations within one
request; not that you can exchange the beans load by each other.

You say, this should be solved at the servlet spec. And I think with our
solution we are really close to it.
The basic conversation scope works as if it is provided by the servlet
spec. You have an additional scope and finding the scope context (multi
window awareness) works through an url parameter which will be added by
an servlet response wrapper (just like the session id without cookies).
Thats why we are not bound to JSF in this area, there is simply no JSF
code to achieve this.

All I need is access to e.g the request map and session map, that has
been refactored into a framework adapter, and if I would like to spend a
servlet filter I can avoid even this.


Ciao,
Mario



Re: SubmitOnEvent doesn't work as child of h:selectOneMenu without explicit id

2007-03-02 Thread Mario Ivankovits
Hi Mike!
 Yes, it looked reasonable to me as well.   I'm using firefox 1.5.0.10.
  Let me see if I get any errors.  Nope.  no javascript errors.

 Trying in IE 6.  Yep. works here.   So it's a firefox compatiblity
 issue.   Does that help?:-)
Unhappily no, as I use firefox 95% the day, so I did for the test, and
it works here.

Not that I really think it has something to do with it, but maybe there
is something bad in your browser cache.
Please try Ctrl-Shift-Reload, this should refetch all resources,
regardless if its in the cache.

Wondering,
Mario



Re: SubmitOnEvent doesn't work as child of h:selectOneMenu without explicit id

2007-03-02 Thread Mario Ivankovits
Hi!

Ok, its getting hot now, there is a difference between your two html
snippets:

not working
 select size=1
 name=masterForm:connectPageForm:chooseMemberForm:_id48

working
 select size=1
 name=masterForm:connectPageForm:chooseMemberForm:memberInput
 id=masterForm:connectPageForm:chooseMemberForm:memberInput

As you can see, the first lacks the id.
Though, the last version of submitOnEvent uses getElementsByName, though
from the java script error in your last pos I see that you must use
another version of it.

 I manually copied it into my project on Jan 24th, though.
There must be something went wrong, only the first version dated with
10.10.2006 used getElementById by accident.

So, you should be able to fix this problem when you copy the latest
version of submitOnEvent.js in your project.
But I guess it's simply load it from your old sandbox jar, no? So you
might replace it from within.

Ciao,
Mario



[jira] Commented: (TOMAHAWK-915) Base default event used by submitOnEvent on enclosing component type

2007-03-02 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/TOMAHAWK-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477449
 ] 

Mario Ivankovits commented on TOMAHAWK-915:
---

Mike,

I've committed something which should do the trick, though, I've no time to try 
it yet.
If you find some time could you please do it? Else I'll do it in the next few 
days.

Thanks!
Good night :)
Mario

 Base default event used by submitOnEvent on enclosing component type
 

 Key: TOMAHAWK-915
 URL: https://issues.apache.org/jira/browse/TOMAHAWK-915
 Project: MyFaces Tomahawk
  Issue Type: Improvement
  Components: submitOnEvent
Affects Versions: 1.1.5-SNAPSHOT
Reporter: Mike Kienenberger
Priority: Minor

 One thing that I had issues with for submitOnEvent is that the default
 event is keyPress.   I didn't realize that the default event wouldn't work 
 for a selectOneUI.
 Let's add intelligent default event values.
 keyPress for a UIInput, change for a UISelectOne, and so on.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: variable default for event used by submitOnEvent?

2007-03-02 Thread Mario Ivankovits
Hi Mike!
 Is there any chance we can have intelligent default event values?
Yea, this is a great idea, should work.
Could you please open a jira for it.

Ciao,
Mario



Re: [vfs] Use WebDAV through HTTPS

2007-03-01 Thread Mario Ivankovits
Hi Robert!
 Commons VFS allows WebDAV URLs through HTTP. However, is there a way in
 Commons VFS to use WebDAV through HTTPS?
Unhappily no, as far as I remember, that is (was?) a limitation of the
webdavlib used.

Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: MyFaces Fusion Naming

2007-03-01 Thread Mario Ivankovits
Hi !
 Just out of curiosity, why is this part of MyFaces as opposed to Shale. It
 sounds more like something that belongs there...
   
We developed it under the MyFaces umbrella during the last months, we
started with a tag base way until we reached the spring based solution
we have now.
So, thats why it's still here.

We will see what the future brings.

Ciao,
Mario



Re: MyFaces Fusion Naming

2007-02-28 Thread Mario Ivankovits
Hey,
 I wonder how Kleber sounds for English native speakers?
I bet it sounds horrible . I hope so :-)


Ciao,
Mario



[jira] Commented: (MYFACES-1546) Find a new name for Apache MyFaces Fusion

2007-02-28 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476577
 ] 

Mario Ivankovits commented on MYFACES-1546:
---

direct access

Apache MyFaces Pure
Apache MyFaces Direct

above and beyond:

Apache MyFaces Alta
Apache MyFaces Sublime

from everything a little bit

Apache MyFaces Platypus


something short

Apache MyFaces Brevi (latin - in short time)



 Find a new name for Apache MyFaces Fusion
 -

 Key: MYFACES-1546
 URL: https://issues.apache.org/jira/browse/MYFACES-1546
 Project: MyFaces Core
  Issue Type: Task
  Components: General
Reporter: Mario Ivankovits

 This jira is to collect new names for Apache MyFaces Fusion
 so far:
 Apache MyFaces Connections
 Apache MyFaces Vista
 Apache MyFaces Salida
 Apache MyFaces Defender
 Apache MyFaces Seamless
 Apache MyFaces Mergence
 Apache MyFaces Accretion
 Apache MyFaces Collective
 Apache MyFaces Aurora
 Apache MyFaces Concerto
 Apache MyFaces Orchestra

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[POLL] Sort out of MyFaces Fusion Naming candidates

2007-02-28 Thread Mario Ivankovits
Hi!

Ok, here we go.

This is a poll where I hope that we can sort out the most of the names
below (shouldn't be that hard ;-), afterwards I hope we are stripped
down to max 4 names where we can start a vote then.

Thanks for your time!

Just remove the names you don't like, I'll try to sum up those decisions
on the wiki page then.

 == Candidates ==

  * Apache MyFaces Connections
  * Apache MyFaces Vista
  * Apache MyFaces Salida
  * Apache MyFaces Defender
  * Apache MyFaces Seamless
  * Apache MyFaces Mergence
  * Apache MyFaces Accretion
  * Apache MyFaces Collective
  * Apache MyFaces Aurora
  * Apache MyFaces Concerto
  * Apache MyFaces Orchestra 
  * Apache MyFaces ease
  * Apache MyFaces Snug
  * Apache MyFaces Rush 
  * Apache MyFaces Salida
  * Apache MyFaces Piletra
  * Apache MyFaces Kleber 
  * Apache MyFaces Sepia
  * Apache MyFaces Chasb 
  * Apache MyFaces Rapid
  * Apache MyFaces Custos
  * Apache MyFaces Coire
  * Apache MyFaces Simplex
  * Apache MyFaces Transit
  * Apache MyFaces Tenere
  * Apache MyFaces Memini
  * Apache MyFaces Memento
  * Apache MyFaces Custos
  * Apache MyFaces Coire
  * Apache MyFaces Simplex
  * Apache MyFaces Transit
  * Apache MyFaces Tenere
  * Apache MyFaces Memini
  * Apache MyFaces Memento
  * Apache MyFaces Pure
  * Apache MyFaces Direct
  * Apache MyFaces Alta
  * Apache MyFaces Sublime
  * Apache MyFaces Platypus
  * Apache MyFaces Brevi
   


Ciao,
Mario



Re: [POLL] Sort out of MyFaces Fusion Naming candidates

2007-02-28 Thread Mario Ivankovits
My favorites.
  * Apache MyFaces Connections
  * Apache MyFaces Mergence
  * Apache MyFaces Aurora
  * Apache MyFaces Concerto
  * Apache MyFaces ease
  * Apache MyFaces Snug
  * Apache MyFaces Custos
  * Apache MyFaces Simplex
  * Apache MyFaces Memento
  * Apache MyFaces Alta
  * Apache MyFaces Brevi
 


Sorry for the double names - copypaste failure :-(



Re: [POLL] Sort out of MyFaces Fusion Naming candidates

2007-02-28 Thread Mario Ivankovits
Hi Paul!
 Please include a description of Fusion on the wiki page [1].  With
 out  a good understanding on what the product is, it is hard to name it.
Done, I hope I managed to express things sufficient.

Ciao,
Mario


[1] http://wiki.apache.org/myfaces/ApacheMyFacesFusion



Re: MyFaces Fusion Naming

2007-02-28 Thread Mario Ivankovits
Mike Kienenberger schrieb:
 It probably sounds like Clever.
Hmmm  I start to like it :-)



Re: [BUG] javascript error on mozilla when click()

2007-02-28 Thread Mario Ivankovits
Hi!
 Hello I use javascript to simulate button click and send a postback to the
 server. Here is the java script:

 document.getElementById('myId').click();
   
If possible have a look at our sandbox component s:submitOnEvent [1]

It solves many of the problems you might have when you try to do it
manually.


Ciao,
Mario


[1] http://wiki.apache.org/myfaces/SubmitOnEvent



Re: [BUG] javascript error on mozilla when click()

2007-02-28 Thread Mario Ivankovits
Hi!
 document.getElementById('myId').click();

 the button defenition in JSF id classic :

 h:commandButton id=myId actionListener=#{myListener}
   
Are you really using just the same id for getElementById and the id
defined for the commandButton?
Its very unlikely that this works, though, should not work with IE too,
as the client id for a jsf comonent is prefixed with the ids of any
parent naming container.

Please double check that you use the correct javascript id by looking at
the generated html.
Anything else looks fine. Maybe have a look at [1] too.


Ciao,
Mario


[1] http://wiki.apache.org/myfaces/SubmitPageOnValueChange



MyFaces Fusion Documentation

2007-02-28 Thread Mario Ivankovits
Hi!

I've started the documentation by creating two xdoc files in
myfaces/fusion/core/src/site, now when I run mvn site from within
myfaces/fusion it creates a site, but only a handful of pages in
core/target/site and they do not use our stylesheet.

Now:

*) Shall I put the documentation into the module directory, or is it
fine if I put them directly into fusion? For me its sufficient to have
only one place for the documentation for the core and core15 modules.
*) Anyway, what can be wrong with the site generation in fusion/core ?
*) At last maven fail with
[INFO] Generate Checkstyle report.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error during page generation

Embedded error: Error rendering Maven report: Unable to find
configuration file location.
Unable to find location 'config/myfaces-checks.xml' as URL, File or
Resource.

Again, I do not know what can be wrong here.


Could one please volunteer help fixing the maven stuff to build a nice
site so we can start deploy it to the public?

Thanks!
Ciao,
Mario



Re: MyFaces Fusion Naming

2007-02-28 Thread Mario Ivankovits
Hi Jeff!
 Apache Myfaces Spider
I like it, though the first hit in google with software spider results
in http://www.spider-software.de/

Ciao,
Mario



Re: [VOTE] Remove Static loggers from 1.2

2007-02-27 Thread Mario Ivankovits
Hi Matthias!
 this was discussed near to death in the past.
 search for simon kitching and logging here in the myfaces list
Anyway, just that we really know what we are talking about:

We have to remove the static keyword from the logger
and add a method getLog() which will lazily get the logger to decrease
the performance impact of e.g. lookups of lightweight objects (they are
likely to be created en mass and so the hashtable should be avoided).

This will add tons of code, though, there is no other way, isn't it?

And - some prerequisites have changed - how many sense does it make when
all new jee container forbid to have a custom jsf jar in your webapp-lib?
Then the gc problem should no longer exist as this library will not be
reloaded then, no?

Ciao,
Mario



Re: MyFaces Fusion

2007-02-27 Thread Mario Ivankovits
Hi Arash!

 how can I see the result of this work?
I don't know if Werner is able to put his work into public, though, I am
working on an example showing the same patterns.

It took some time to setup the examples framework, though, yesterday I
managed to bring it up and can start now to implement a nice example.
You can keep track by checkout fusion from:

https://svn.apache.org/repos/asf/myfaces/fusion/trunk

You'll have to have a myfaces checkout too which requires a mvn
install first.
Then change into fusion and execute mvn install there too.
Change into fusion/examples and start mvn jetty:run (Thanks to
Matthias Wessendorf who provided the configuration for it), though,
don't expect too much for now :-)

I'll try to finish and polish this simple example and will create the
documentation based on it then.

Also thanks to Werner Punz who put enormous time into debugging all the
stuff.

I plan to have an official announcement next week. Today evening I'll
kick off a naming discussion on the ml.

Ciao,
Mario



MyFaces Fusion Naming

2007-02-27 Thread Mario Ivankovits
Hi!

Ok, I'll start the naming question now.

My personal favorit for the new library still is MyFaces Fusion, for
what I have seen on the Internet and the United States Patent and
Trademark Office there is already a oracle product called Oracle
Fusion, though, they trademarked the whole phrase.

Then the first few hits at googe are:
Fusion MX
Fusion Software
NetObjects Fusion

From the top of my head I also remember
Adobe Cold Fusion (couldn't find the trademark)


So from MY legal point of view MyFaces Fusion is safe as long as we
assure that the official name of the library contains the name MyFaces too.


What do you think?

Ciao,
Mario



Re: MyFaces Fusion Naming

2007-02-27 Thread Mario Ivankovits
Hi Matthias!
 So from MY legal point of view MyFaces Fusion is safe as long as we
 assure that the official name of the library contains the name
 MyFaces too.

 quick note, that is should be Apache MyFaces Fusion instead of
 just MyFaces Fusion

Right, thanks for the pointer!

Ciao,
Mario



Re: MyFaces Fusion Naming

2007-02-27 Thread Mario Ivankovits

 Now a serious one
 Apache MyFaces Salida
   
I like the spanish style - one more: Apache MyFaces Defender

In Spanish its something like to hold/to know etc 
Even in English we can argue we defend against detached objects ;-)


Ciao,
Mario



Re: MyFaces Fusion

2007-02-27 Thread Mario Ivankovits

 I thought you were simply playing around with the fusion framework,
 not trying to use it for real work :-)
He is really enthusiastic  and an adventurer ;-)

Kudos to Werner!

Ciao,
Mario



Re: MyFaces Fusion Naming

2007-02-27 Thread Mario Ivankovits
Hi Manfred!
 What about Apache MyFaces Seamless ?!
I don't think its a good idea to use anything which sounds like Seam.
Seam aims to be much more than I have in mind for Fusion now.
See, they integrated stuff to create PDFs lately.

I don't wont to suggest - by using nearly the same name - that we
provide the same functionality. Even if we do in some areas.

Ciao,
Mario



Re: MyFaces Fusion Naming

2007-02-27 Thread Mario Ivankovits
What about something completely different:

Apache MyFaces Aurora

Positive thing, no? Seriously.


Ciao,
Mario



[jira] Created: (MYFACES-1546) Find a new name for Apache MyFaces Fusion

2007-02-27 Thread Mario Ivankovits (JIRA)
Find a new name for Apache MyFaces Fusion
-

 Key: MYFACES-1546
 URL: https://issues.apache.org/jira/browse/MYFACES-1546
 Project: MyFaces Core
  Issue Type: Task
  Components: General
Reporter: Mario Ivankovits


This jira is to collect new names for Apache MyFaces Fusion

so far:

Apache MyFaces Connections
Apache MyFaces Vista
Apache MyFaces Salida
Apache MyFaces Defender
Apache MyFaces Seamless
Apache MyFaces Mergence
Apache MyFaces Accretion
Apache MyFaces Collective
Apache MyFaces Aurora
Apache MyFaces Concerto
Apache MyFaces Orchestra


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (MYFACES-1546) Find a new name for Apache MyFaces Fusion

2007-02-27 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476388
 ] 

Mario Ivankovits commented on MYFACES-1546:
---

some more

MyFaces ease
MyFaces Snug
MyFaces Rush


 Find a new name for Apache MyFaces Fusion
 -

 Key: MYFACES-1546
 URL: https://issues.apache.org/jira/browse/MYFACES-1546
 Project: MyFaces Core
  Issue Type: Task
  Components: General
Reporter: Mario Ivankovits

 This jira is to collect new names for Apache MyFaces Fusion
 so far:
 Apache MyFaces Connections
 Apache MyFaces Vista
 Apache MyFaces Salida
 Apache MyFaces Defender
 Apache MyFaces Seamless
 Apache MyFaces Mergence
 Apache MyFaces Accretion
 Apache MyFaces Collective
 Apache MyFaces Aurora
 Apache MyFaces Concerto
 Apache MyFaces Orchestra

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: MyFaces Fusion

2007-02-27 Thread Mario Ivankovits
Hi Arash!
 nice demo, 
hehe, dont lie ;-)

 dose any documentation exist any where to start? (other than this example)
Unfortunately no, not yet. But I'll start one soon.

Ciao,
Mario



Re: MyFaces Fusion Naming

2007-02-27 Thread Mario Ivankovits
Mike,

 It's up to you, but I'd think using a wiki page would be far easier to
 manage.
 You can propose names, and then group them as they're added:

I thought that too, and I'll do so tomorrow, for now letz use the jira
just to collect the names without any bias.
I'll close the jira (maybe tomorrow if no new names follow) and then we
should stop proposing new names, at that time I'll take them over to a
wiki page
and we can start to sort out stuff.
I'll maintain the wiki page then; based on ml discussions.


Ciao,
Mario



Re: MyFaces Fusion Naming

2007-02-27 Thread Mario Ivankovits
Hey,
 let's collect these names in a jira task.
here we go:

https://issues.apache.org/jira/browse/MYFACES-1546

Ciao,
Mario



[jira] Commented: (MYFACES-1546) Find a new name for Apache MyFaces Fusion

2007-02-27 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476389
 ] 

Mario Ivankovits commented on MYFACES-1546:
---

Including Apache on the above for sure

 Find a new name for Apache MyFaces Fusion
 -

 Key: MYFACES-1546
 URL: https://issues.apache.org/jira/browse/MYFACES-1546
 Project: MyFaces Core
  Issue Type: Task
  Components: General
Reporter: Mario Ivankovits

 This jira is to collect new names for Apache MyFaces Fusion
 so far:
 Apache MyFaces Connections
 Apache MyFaces Vista
 Apache MyFaces Salida
 Apache MyFaces Defender
 Apache MyFaces Seamless
 Apache MyFaces Mergence
 Apache MyFaces Accretion
 Apache MyFaces Collective
 Apache MyFaces Aurora
 Apache MyFaces Concerto
 Apache MyFaces Orchestra

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: MyFaces Fusion

2007-02-27 Thread Mario Ivankovits
Hi Arash!
 just give me some hints if possible
 I have two more days to finish this part of the book I am writing and
 I am interested to replace the seam framework I used in my example
 with fusion (or what ever it will be called in future)
 I have used only seam for integration with JPA, and it looks like I
 can replace it.
O-K I'll try:

For the installation you have to configure the conversation scope in
spring, for this you could have a look at
fusion/examples/src/main/webapp/WEB-INF/applicationContext.xml

As might see, the conversation scope is configured using an advice, the
persistentContextConversationInterceptor.
This interceptor holds the entity manager for a conversation and is
responsible to configure the thread.

Every bean configured in conversation scope (using
scope=conversation) will get a new entity manager.
If you used spring before, your knowledge about daos wont change.

Each conversation bean has to have the aop:scoped-proxy/ marker. This
creates a proxy so that - even if you end a conversation - you can work
with this bean - but on an new instance then.

You can use the conversation scoped bean directly as your backing bean
for the view, this is the common case if you have to deal with a single
page only.
If you have a wizzard like pageflow you'll typically create a
conversation scope bean which you inject into your request scope backing
bean then.

The method in your conversation bean which will issue an update has to
be annotated with @Transactional - you can change your entites in not
annotated methods too, but then they are not flushed - the flush is
delayed unit a @Transactional method has been invoked.
That way the entity manager will issue a commit() at the end of the method.
Tha can also be the point where you end a conversation, from within the
conversation bean you can access the current conversation using
Conversation.getCurrentInstance()

The conversation can also be invalidated(), which means the next access
to the bean instance will see an new empty one. There are strategies to
restart a conversation too.

The point is that you use the (well known) strategies of spring to get
access to the entity manager, and in JPA they are the standardized.
Fusion just configures spring so that it will see the associated
entityManager for the to-be-invoked conversation.

I am not sure if I manged to make things clearer now - all in all its
the spring configuration which you have to make correct, afterwards
there are just a handful of patterns which you should follow to make the
most use out of fusion.


Ciao,
Mario



[jira] Commented: (MYFACES-1546) Find a new name for Apache MyFaces Fusion

2007-02-27 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476537
 ] 

Mario Ivankovits commented on MYFACES-1546:
---

Apache MyFaces Sepia

form the ml:
Apache MyFaces Chasb


 Find a new name for Apache MyFaces Fusion
 -

 Key: MYFACES-1546
 URL: https://issues.apache.org/jira/browse/MYFACES-1546
 Project: MyFaces Core
  Issue Type: Task
  Components: General
Reporter: Mario Ivankovits

 This jira is to collect new names for Apache MyFaces Fusion
 so far:
 Apache MyFaces Connections
 Apache MyFaces Vista
 Apache MyFaces Salida
 Apache MyFaces Defender
 Apache MyFaces Seamless
 Apache MyFaces Mergence
 Apache MyFaces Accretion
 Apache MyFaces Collective
 Apache MyFaces Aurora
 Apache MyFaces Concerto
 Apache MyFaces Orchestra

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (MYFACES-1546) Find a new name for Apache MyFaces Fusion

2007-02-27 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476544
 ] 

Mario Ivankovits commented on MYFACES-1546:
---

Apache MyFaces Rapid

Some Latin ones (used http://www.albertmartin.de/latein/ to translate from 
german to latin):

Apache MyFaces Custos
Apache MyFaces Coire
Apache MyFaces Simplex
Apache MyFaces Transit
Apache MyFaces Tenere
Apache MyFaces Memini
Apache MyFaces Memento


 Find a new name for Apache MyFaces Fusion
 -

 Key: MYFACES-1546
 URL: https://issues.apache.org/jira/browse/MYFACES-1546
 Project: MyFaces Core
  Issue Type: Task
  Components: General
Reporter: Mario Ivankovits

 This jira is to collect new names for Apache MyFaces Fusion
 so far:
 Apache MyFaces Connections
 Apache MyFaces Vista
 Apache MyFaces Salida
 Apache MyFaces Defender
 Apache MyFaces Seamless
 Apache MyFaces Mergence
 Apache MyFaces Accretion
 Apache MyFaces Collective
 Apache MyFaces Aurora
 Apache MyFaces Concerto
 Apache MyFaces Orchestra

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: MyFaces Fusion

2007-02-23 Thread Mario Ivankovits
Hi Cagatay!

 I'd really really like to help if you need:)
There is plenty of room to help :-)
Thanks!

Short term todos are:

* Demo App
* Documentation

Regarding the DemoApp, maybe Werner is able to donate one, if not we
have to build one.
Would be great if you could help there if we have to cross that bridge.

At least the initial Documentation has to be done by myself
(unfortunately ;-) )

Ciao,
Mario



Re: MyFaces Fusion

2007-02-23 Thread Mario Ivankovits
Hi Arash!
 It looks like this fusion lead a more pure MyFaces application.
 and I am ready to use it, if you provide some minimum guidelines for
 rest of us.
Yep, I am working on it ... should be available soonish.

Ciao,
Mario



MyFaces Fusion

2007-02-22 Thread Mario Ivankovits
Hi!

MyFaces Fusion is just a collection of already existing myfaces sandbox
components.

The main goal of this project is to ease the development of JSF
applications especially if they have to deal with an ORM backend.

I tried to do so a while back by developing a ConversationTag, which
worked not that bad, but I was told that such a logic should not be put
into the view.
And well, the feeling was that it would be nice if it could be easier to
deal with conversation.

Spring allowed us to create a custom scope AND to reuse the well known
way how it deal with persistence.

So I've rewritten the ConversationTag to use Spring and first tests were
really nice. No need to learn any new programming style, just code as
before.

Some of us reviewed it (offlist) and we came to the conclusion that it
has enough power to live as separate project.
Thats why I created the initial structure - not really new code, just
taken from the sandbox.
I know, I didnt use the svn cp command, but, since ALL of this code has
been developed by me and there is not much value in the current history,
I did it the easier way. Sorry for this.


The current structure is divided into core and core15.


The core part contains the ConversationTag and the RequestParameterProvider.
In contrast to the tomahawk-sandbox ConversationTag the conversation tag
now works using Spring and a custom scope.
The RequestParameterProvider is used to allow multiple open windows
within the same session.
So e.g. I you have a order processing system you can open it twice and
work in two independed conversations (even if their names are the same)

The core15 part contains the DynaForm from tomahawk-sandbox15
It will create parts of the view automatically based on EJB3 annotated
beans.
Its migth become a great time-saver for simple tables.


The current check-in do not bulid usable jars, some maven/tld/xml stuff
has to be put in line, I hope to manage to do so in the next few hours.
In the next few days I'll commit a sample application (given that you do
not cancel my efforts), afterwards the documentation has to be done.

The status of this project is sandbox like.

Ciao,
Mario



Re: MyFaces Fusion

2007-02-22 Thread Mario Ivankovits
Hi Mike!
 In the future, please remember that such reviews and conclusions
 *must* be made on the mailing list.
Ok, sorry for this.

 As to the actual merits of the subproject, I don't understand what
 value it adds to have this in both the sandbox and in fusion.How
 do the two subprojects differ?   Is it just a matter of different
 dependencies?
The parts in the sandbox will deleted once the setup of the new project
has settled down.
Afterwards a release of MyFaces Fusion (or whatever name it will have in
the end) should follow soon.

For the user it is easier to recognize than that there is just another
competitor in this area (JSF, ORM, etc)


Ciao,
Mario



Re: MyFaces Fusion

2007-02-22 Thread Mario Ivankovits
Hi Matthias!

 I like the idea, but perhaps in future, please send out an email. I
 bet that won't hurt.
No, wouldn't have hurt, you are right.


However, now everyone is able to review real facts. If we do not agree
about having it that way in MyFaces land I'll svn rm/svn mv/whatever it.
Nothing is put in stone just by committing it.



Ciao,
Mario



Re: What is Fusion? Re: svn commit: r510598 [1/6] - in /myfaces/fusion/trunk: ./ core/ core/src/ core/src/main/ core/src/main/java/ core/src/main/java/org/ core/src/main/java/org/apache/ core/src/main

2007-02-22 Thread Mario Ivankovits
Hi Mike!
 I did a search of my mailing archives for fusion and I didn't find
 anything relevent.  I'd expect a new subproject to at least be
 preceded by an email
I would have done, but my *!§$!§$%* thunderbird crashed just before I
managed to hit send. Just hold on a minute please, I'll rewrite it now.

Ciao,
Mario



Re: MyFaces Fusion

2007-02-22 Thread Mario Ivankovits
Mike Kienenberger schrieb:
 Well, the thread started with this statement, so you'll have to
 forgive me if I thought it was true :-)

 MyFaces Fusion is just a collection of already existing myfaces
 sandbox components.
Instead of components I should have written code.
There are two or three components left in fusion directly related to the
code, the rest is system code.

Ciao,
Mario



Re: MyFaces Fusion

2007-02-22 Thread Mario Ivankovits
Hi!
 There needs to be some kind of discussion before a commit of this
 type, even if it's a single message.
Ok, sorry for being too enthusiastic.
I didn't realize that it would be such a mistake.

What can I do now?
Would it be of any help if I rollback the check-in and we start
discussion about it?


Ciao,
Mario



Re: MyFaces Fusion

2007-02-22 Thread Mario Ivankovits
Hi!
 Other than the conversation tag, what else will be removed from the
 sandbox?
tomahawk-sandbox
There is a behind the scenes code called RequestParameterProvider
which allows you to add a class which will then be called when a URL
will be encoded.
This is the central mechanism to ensure that a url parameter called
conversationContext is existent on each url, though, you can configure
it to add any other parameter you would like to.
IMHO its very unlikely that an application will make any use of this
mechanism, its more something for libraries.
I don't remember someone else ever asked a single question about it, so
I think its not in use by someone else.

tomahawk-sandbox15
There is the dynaForm stuff which creates a input/output formular based
on EJB3 annotations (including validators/converters) with some
additional features e.g. to create select listboxes in case of 1:n
annotations.
Since this is a somehow complex piece of code and there is no
documentation (though, there is a demo) and I've never announced it on
the user list I am pretty sure there is no user now.


Regarding the ConversationTag itself I know at least a single person who
helped me debugging it. I think its a month back or so where I asked him
if he still uses it, and he do. He told me he'll have a look at the
spring like solution too.


Anyway. As you said, Before we remove anything from the sandbox we
definitely should ask on the user list and I'll be of any help if it
comes to migration issues.
Maybe we can move some of the deprecated sandbox code to a code.google
or sourceforge project, though, in dormant mode for sure.

Ciao,
Mario



Re: Status of the Sandbox?

2007-02-20 Thread Mario Ivankovits
Hi Henri!
 Summarizing this thread:

 compress. Doesn't sound like there are any strong itches to do any
 work here. Consider for dormancy.

 I still have an itch, but it's behind exec and openpgp (and because
 there were others willing to work on it).

Yes, please give it an additional iteration.
I have no free time for compress, but VFS copied it into its own
codebase which I consider sub optimal. I still hope this will change again.

Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VFS] Closed OutputStream from FileContent does not throw IOException if further written to

2007-02-15 Thread Mario Ivankovits
Hi Christian!
 os.write(SOME_BYTES);
 os.close();
 os.write(SOME_BYTES); // Neither IOE is thrown nor bytes are written

 Why?
   
No idea, lets have a look at it. Could you please file a bug report in
JIRA [1] (maybe with patch attached ;-) )

Thanks!
Ciao,
Mario


[1] http://issues.apache.org


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r507879 - in /myfaces/tomahawk/trunk: core/src/main/java/org/apache/myfaces/custom/calendar/ sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/ sandbox/core/src/main/ja

2007-02-15 Thread Mario Ivankovits
Hi Volker!
 for which reason can the normal findComponent fail?
When the user do not specify the full id of the for component but only
the basename.

If its bad habbit to allow this I'll remove it again. I've found it
comfortable for s:focus and s:submitOnEnter.

Ciao,
Mario



Re: svn commit: r507879 - in /myfaces/tomahawk/trunk: core/src/main/java/org/apache/myfaces/custom/calendar/ sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/ sandbox/core/src/main/ja

2007-02-15 Thread Mario Ivankovits
Hi Volker!
 for which reason can the normal findComponent fail?

 I don't think this approach is a good idea.
 This supports user in being careless in setting id's.
Ok, I think you are right, I've reverted it.
Now I've to file a bug for Intellij IDEA as they do not honor
NaminContainer and so these for settings are considered wrong (red code) :-(

Ciao,
Mario



Re: svn commit: r507954 - /myfaces/core/trunk/api/src/main/java/javax/faces/context/FacesContext.java

2007-02-15 Thread Mario Ivankovits
Hi Martin!
 --- 
 myfaces/core/trunk/api/src/main/java/javax/faces/context/FacesContext.java 
 (original)
 +++ 
 myfaces/core/trunk/api/src/main/java/javax/faces/context/FacesContext.java 
 Thu Feb 15 07:11:28 2007
 @@ -84,6 +84,7 @@
  
  protected static void 
 setCurrentInstance(javax.faces.context.FacesContext context)
  {
 +_currentInstance.remove();
  _currentInstance.set(context);
   
ThreadLocal.remove() is jdk 1.5 only!

Ciao,
Mario



Re: [VOTE] MyFaces Core 1.1.5

2007-02-14 Thread Mario Ivankovits
Hi!

+1


 Hi all,
 This is the official vote for MyFaces Core 1.1.5.

 Please note that this vote concerns all of the following parts:
 1. Maven artifact group org.apache.myfaces.maven v1.0.5  [1]
 2. Maven artifact group org.apache.myfaces.shared v2.0.5  [1]
 3. Maven artifact group org.apache.myfaces.core v1.1.5  [1]
 4. MyFaces Core Assembly  [2]
 5. Proposed Release Announcement  [3]

 [1] http://people.apache.org/builds/myfaces/m2-staging-repository/
 [2] http://people.apache.org/builds/myfaces/core-1.1.5/
 [3] http://wiki.apache.org/myfaces/CoreRelease115#releasenotes

 --Manfred



Ciao,
Mario



Re: VFS Progress status

2007-02-05 Thread Mario Ivankovits
Hi!

It's not yet possible, but planned for the next release.

Shouldn't be that hard - hopefully ;-)

Ciao,
Mario

-Original Message-
From: [EMAIL PROTECTED]
Date: Monday, Feb 5, 2007 1:15 pm
Subject: VFS Progress status
To: Reply-Jakarta Commons Users List commons-user@jakarta.apache.orgTo: 
commons-user@jakarta.apache.org

Hi,

I've just started using VFS. Looks very nice.

Does anyone know if it is possible to retrieve progress information
regarding IO operations such as copy/move?

 

 

Daniel Ore




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: MyFaces PMC += Wendy Smoak

2007-02-02 Thread Mario Ivankovits
Hi Wendy!

Welcome!

Ciao,
Mario



spring conversation scope and ejb

2007-02-01 Thread Mario Ivankovits
Hi!

Very much text and technical stuff, sorry for this.

The basic spring conversation scope is finished and I started to use it
in our project. Though, without persistence for now.

do not flame
For those of us, directly using hibernate objects in the view layer
/do not flame
it would be great to synchronize a hibernate session with the lifetime
of a conversation (if its a conversation which requires persistence,
completely optional for sure)

I am somehow out of idea what could be the best idea to do design it. So
- help is welcome.


Ok, lets try to describe what I have in mind currently:

Each bean put into the spring conversation scope IS A conversation.
The bean lives there until the user ends the conversation or no one
accessed the bean within a given timeout.

Now, one is able (or should be) to load hibernate objects and put them
into the conversation bean.
Regardless if there is a new request or a pageflow, the conversation
bean is always the same and thus should use the same hibernate session.

This makes it clear, that the conversation bean should hold the
hibernate session too. This e.g. can be done by using spring injection, no?
Now, each DAO has to pick this session and issue hibernate calls.

Has someone an idea how the DAO can pick up such a session?

For now, I see two ways (spoken in scematic code):


In any case, every access has to be routed through the conversation bean:

1)
public class MyConversationBean
{
HibernateSession session; [1]

public List loadData()
{
return MyDataDAO.getInstance(session).loadData(); [2]
}
}
[1] Spring injects the session.
[2] Conventional lookup of the DAO with pass in the session.

or

2)
public class MyConversationBean
{
HibernateSession session; [1]
MyDataDAO myDataDao; [2]

public List loadData()
{
return myDataDao.loadData();
}
}

[1] Spring injects the session.
[2] Spring injects the DAO too. Now it would be nice if spring could be
able to inform the MyConversationBean about the injected DAO so that the
conversation bean itself could inject the current session into the DAO.
Is Spring able to do it?
The HibernateSession could be hidden behind an base class, e.g. called
PersistentConversation

public class MyConversationBean extends PersistentConversation
{
MyDataDAO myDataDao;

public List loadData()
{
return myDataDao.loadData();
}
}

public class PersistentConversation
{
HibernateSession session;

public void injectedBean(Object instance)
{
 ((DAOBase) instance).setSession(session);
}

further commit/rollback handling
}

For sure, in the end I wont use HibernateSession, but an abstract class
where you can pack in a transaction, session or whatever access class
you want to. Its just to get the idea.

Now, what do you think? Any better way to do it?


Ciao,
Mario



Re: Another question about RedirectTracker

2007-02-01 Thread Mario Ivankovits
Hi Aleksandr!

  Is it posible to restore states for all components? Is it right way? 
   
AFAIK, not using GET only.

GET request URLs are limited in size, depending on the browser, proxy
and web-server you have between you and your clients browser.
Its something between 1-2kb.

A view state could easily have much more than 2kb. You could use server
side state saving, but then your links are no longer bookmarkable.
But even if you send the view state to the clients url you could not
await that all your urls are reproducable. Means: When you change
something int the component tree e.g. adding/removing/rearranging fields
the client state will be invalid = bookmark is invalid.
Though, I do not know if you've choosen the PRG pattern to have
bookmarkable pages, so maybe this is not an issue for you.

Anyway, maybe someone else with knowledge in the PRG pattern might be of
more help.

Ciao,
Mario




Re: Another question about RedirectTracker

2007-02-01 Thread Mario Ivankovits
Hi Aleksandr!
 Is it posible to restore states for all components? Is it right way? 
AFAIK, not using GET only.

GET request URLs are limited in size, depending on the browser, proxy
and web-server you have between you and your clients browser.
Its something between 1-2kb.

A view state could easily have much more than 2kb. You could use server
side state saving, but then your links are no longer bookmarkable.
But even if you send the view state to the clients url you could not
await that all your urls are reproducable. Means: When you change
something int the component tree e.g. adding/removing/rearranging fields
the client state will be invalid = bookmark is invalid.
Though, I do not know if you've choosen the PRG pattern to have
bookmarkable pages, so maybe this is not an issue for you.

Anyway, maybe someone else with knowledge in the PRG pattern might be of
more help.

Ciao,
Mario



Re: [VFS] How to create a new file?

2007-01-31 Thread Mario Ivankovits
Hi!

Please prefix your e-mail subject with the project name you have
problems with. In this case [VFS].

 I need to upload files to a server through SFTP. First I have to create a 
 file with a new file name. Then I have to write the outputstream to that 
 file to fill it with content.
   
Create a file:
VFS.getManager().resolveFile(abc.txt).createFile();

replace abc.txt with your sftp url.


Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VFS] How to rename a file?

2007-01-31 Thread Mario Ivankovits
Hi!
 Is there any simple way to rename a file?
   
FileObject foNew = VFS.getManager().resolveFile(abcNew.txt);
VFS.getManager().resolveFile(abc.txt).moveTo(foNew);

moveTo issues a copyTo/delete or move operation depending if its on
the same filesystem or not.

Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Commons-vfs for Archiva?

2007-01-31 Thread Mario Ivankovits
Hi Carlos!
 that topic was already brought before and didn't succeed
Do you remember what the problem was?


Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Joda-interest] added hibernate persister for LocalTime and LocalDate

2007-01-31 Thread Mario Ivankovits
Hi Ignacio!
 * The persisters extend EnhancedUserType, but they could extend
 UserType (the extra methods are not used)
   
I am still not sure about it. The documentation of EnhancedUserType
shows, that such types can be used as identifier or discriminator, so I
assumed that this is not the case for simple UserTypes. I can't find
anything more about it in the source code and it looks like the
documentation is wrong here.
Anyway, I don't understand why we should NOT use the EnhancedUserType,
that way we can make use of the to and from string stuff hibernate
will use for some xml magic.

 * The implementation of each persister are very much the same, so they
 could extend a single abstract class and add only a couple of methods.
 The total code size shrinks to about 50%
   
Ok, ok, I know, I am lazy. Sorry for this. I'll have a look at it.

 * I also used the Hibernate type naming pattern (DurationType,
 LocalTimeType) but that is a matter of taste and I really don't care
 much anyway.
   
I don't know why I used the Persist* naming, I'll have a look at it too.
What do others think about this topic?

 Thanks for giving this some time, Mario
Thanks for helping making it better :-)


Ciao,
Mario


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest


Re: [Joda-interest] added hibernate persister for LocalTime and LocalDate

2007-01-31 Thread Mario Ivankovits
Hi!
 Ok, ok, I know, I am lazy. Sorry for this. I'll have a look at it.
 

 Lazy? Your implementation is great! I only added some tuning.
   
:-) But I AM lazy, yesterday I thought about cleaning up the object
hierarchy  but  well ... you've seen what happened ;-)

 If you don't mind I will mail you offlist my three classes.
Great! Thanks!


Ciao,
Mario


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest


Re: Jsf_tree_64

2007-01-30 Thread Mario Ivankovits
Hi
 should be looking to solve both load balancing and low page size?

 Perhaps a sticky load balancer, ie one that is http-session-aware
 and therefore directs all requests for a specific session to a single
 tomcat instance?
For simplifications I'd prefer the sticky way too, though, it should
be possible to broadcast the session to other tomcat instances too. That
way, JSF should work in such environments too.
I've never tried it myself, though.

Don't know much about the network load you might experience when you
have to synchronize the session after each request.
There are ways to synchronize changed session attributes only, but this
might not work with data structures we use in myfaces, however, even if
any clever thingy builds the session delta, at least the whole session
has to be serialized locally.

Ciao,
Mario



Re: Jsf_tree_64

2007-01-30 Thread Mario Ivankovits
Hi Daniel!
 As Simon said, it's basically server-side state saving with a single
 client-side token.  But normal server-side state saving already has a token
 (the SESSION ID!!) that maps to the HttpSession anyway... so what's the
 difference??
   
The thing is to not only find the correct session, but also the correct
request.
It's required to support the browser-back button where, due to the page
flow, the system awaits to find a JSF state for the page. If you do not
maintain a request id you'll always could have the last JSF state (for
the last page), any browser-back will fail.

MyFaces will store a configureable number of JSF states, say for the
last 20 requests. After then, the browser-back issue is back.


Ciao,
Mario



[jira] Commented: (VFS-109) Ant tasks could be improved to support filesets

2007-01-25 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/VFS-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467310
 ] 

Mario Ivankovits commented on VFS-109:
--

Thanks!

Will have a look at it in the next few days.

Ciao,
Mario

 Ant tasks could be improved to support filesets
 ---

 Key: VFS-109
 URL: https://issues.apache.org/jira/browse/VFS-109
 Project: Commons VFS
  Issue Type: Improvement
Affects Versions: later
 Environment: Mac OS X, Linux
Reporter: Ludovic Maître
 Assigned To: Mario Ivankovits
Priority: Minor
 Fix For: later

 Attachments: commons-vfs-ant-1.0-SNAPSHOT-src.tar.bz2, 
 commons-vfs-ant-1.0-SNAPSHOT-src.tar.bz2, README.txt, RELEASE_NOTES.txt


 The Commons-VFS Ant tasks could be improved to support filesets, or an object 
 derived from filesets which support FileObjects instead of files. I've done a 
 preliminary version of this. The content of the attached file contain a 
 replacement package for the ant tasks, which extend them and add selectors, 
 vfs:fileset and directory scanner for VFS. It is a functional, i use it for 
 my deployment system. It use Ant 1.6.5 (and not 1.6.2).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (VFS-109) Ant tasks could be improved to support filesets

2007-01-25 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/VFS-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467313
 ] 

Mario Ivankovits commented on VFS-109:
--

In the meantime, could you pleas file a CLA [1], [2]

Thanks!

[1] http://www.apache.org/licenses/
[2] http://www.apache.org/licenses/icla.pdf

 Ant tasks could be improved to support filesets
 ---

 Key: VFS-109
 URL: https://issues.apache.org/jira/browse/VFS-109
 Project: Commons VFS
  Issue Type: Improvement
Affects Versions: later
 Environment: Mac OS X, Linux
Reporter: Ludovic Maître
 Assigned To: Mario Ivankovits
Priority: Minor
 Fix For: later

 Attachments: commons-vfs-ant-1.0-SNAPSHOT-src.tar.bz2, 
 commons-vfs-ant-1.0-SNAPSHOT-src.tar.bz2, README.txt, RELEASE_NOTES.txt


 The Commons-VFS Ant tasks could be improved to support filesets, or an object 
 derived from filesets which support FileObjects instead of files. I've done a 
 preliminary version of this. The content of the attached file contain a 
 replacement package for the ant tasks, which extend them and add selectors, 
 vfs:fileset and directory scanner for VFS. It is a functional, i use it for 
 my deployment system. It use Ant 1.6.5 (and not 1.6.2).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



myfaces resource loader and lastModified time

2007-01-24 Thread Mario Ivankovits
Hi!

Now that I am again working around in MyFacesResourceLoader I've had a
look at its lastModified stuff.

You know, we create a properties file with a date generated during the
build process to determine the last modified time we have to send to the
browser.

There the method states:

 * Unfortunately this is not possible with files inside jars.
Instead, the
 * MyFaces build process ensures that there is a file
AddResource.properties
 * which has the datestamp of the time the build process was run.
This method
 * simply gets that value and returns it.

Which is wrong IMHO. At least the URLConnection has a method called
getLastModified() :-)

So we can extend this class to use the real lastModified date and even
further, we can check the date we get from the browser and send back a
correct http status code in case the resource has not changed.


Any objections?

Ciao,
Mario



filtered stylesheets

2007-01-23 Thread Mario Ivankovits
Hi!

I have the need to put some background-image styles in one of our
stylesheets.

Currently I have done this by changing the stylesheet through javascript
on load time, but now I have to put a ton of such styles in our
stylesheet and don't want to go on with this hack.

I though about extending the tomahawk stylesheet component with an
attribute filtered=true|false.
In such case I'll use our resource loading facility to plug in a filter
class between the resource and the browser.

In the end it should be possible to put the following in your css file:

.anyTest
{
background-image: url($servletContext/path/to/your/image.gif)
}

At the first request the css file will be filtered and cached in memory,
subsequent requests will deliver the already filtered text from there.


What do you think?

Ciao,
Mario



Re: Hibernate Object and JSF Bean Design

2007-01-19 Thread Mario Ivankovits
Hi!

Well, I work in an mid size project, approx 3000 java files and 300 jsps.
No need for load balancing or failover, which makes things easier ;-)


We moved (or currently move) from our own persistence to hibernate with
all its problems (Lazy loading, detached objects, ...) Exceptions all
around ;-)

Then, I developed the ConversationTag which you'll find in tomahawk
sandbox which introduce a new scope to JSF - the conversation scope.
Every hibernate object
 now lives in this conversation scope which is synchronized with the
hibernate session and can span multiple requests and pages.

JBoss Seam do alot more, but the main live-saver (IMHO) is its
conversation scope which we have with our tag too.


Some people do not like it do define such things in the view, so the
latest addition is a custom scope for Spring which allows you to more
naturally deal with conversation beans, you simply have to write
scope=conversation in your spring bean configuration.
Some thoughts have to be done how to synchronize such a scope with
hibernate - well, I've done something there too, but I am still not
fully happy with it.

Ciao,
Mario



Re: Hibernate Object and JSF Bean Design

2007-01-19 Thread Mario Ivankovits
Hi!
 Well, I work in an mid size project, approx 3000 java files and 300 jsps.
 No need for load balancing or failover, which makes things easier ;-)
   
Oh, I forget, we directly use Hibernate Objects in our view too.


Ciao,
Mario



Re: How to submit a form using javascript

2007-01-19 Thread Mario Ivankovits
Hi!

 I can give you an example of how I use javascript to do a “click” on a
 button. :)

Please have a look at our tomahawk-sandbox submitOnEvent [1] component.
Should already do what you want.


Ciao,
Mario


[1] http://wiki.apache.org/myfaces/SubmitOnEvent



[jira] Resolved: (VFS-108) Add sandbox to gump

2007-01-18 Thread Mario Ivankovits (JIRA)

 [ 
https://issues.apache.org/jira/browse/VFS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Ivankovits resolved VFS-108.
--

Resolution: Duplicate

Duplicate of VFS-105, fixed yesterday :-)

 Add sandbox to gump
 ---

 Key: VFS-108
 URL: https://issues.apache.org/jira/browse/VFS-108
 Project: Commons VFS
  Issue Type: Wish
Reporter: Gilles Scokart

 The sandbox is currently not built in gump.  Because of that, the project 
 (ivy for example) using it can not be built in gump neither.

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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Closed: (VFS-108) Add sandbox to gump

2007-01-18 Thread Mario Ivankovits (JIRA)

 [ 
https://issues.apache.org/jira/browse/VFS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Ivankovits closed VFS-108.



 Add sandbox to gump
 ---

 Key: VFS-108
 URL: https://issues.apache.org/jira/browse/VFS-108
 Project: Commons VFS
  Issue Type: Wish
Reporter: Gilles Scokart

 The sandbox is currently not built in gump.  Because of that, the project 
 (ivy for example) using it can not be built in gump neither.

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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (VFS-108) Add sandbox to gump

2007-01-18 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/VFS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465741
 ] 

Mario Ivankovits commented on VFS-108:
--

Oh, I see, yes, we need to add vfs-sandbox to the gump descriptor too.

VFS has a gump.xml, though, as far as I remember gump do no longer use it, not 
sure.
I have zero knowledge with gump, maybe you have some time to ask on the gump ml 
what needs to be done?
Would be great!

Thanks!
Ciao,
Mario

 Add sandbox to gump
 ---

 Key: VFS-108
 URL: https://issues.apache.org/jira/browse/VFS-108
 Project: Commons VFS
  Issue Type: Wish
Reporter: Gilles Scokart

 The sandbox is currently not built in gump.  Because of that, the project 
 (ivy for example) using it can not be built in gump neither.

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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (VFS-108) Add sandbox to gump

2007-01-18 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/VFS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465761
 ] 

Mario Ivankovits commented on VFS-108:
--

Great, thanks!

Will have a look at it tomorrow!

 Add sandbox to gump
 ---

 Key: VFS-108
 URL: https://issues.apache.org/jira/browse/VFS-108
 Project: Commons VFS
  Issue Type: Wish
Reporter: Gilles Scokart

 The sandbox is currently not built in gump.  Because of that, the project 
 (ivy for example) using it can not be built in gump neither.

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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Resolved: (VFS-108) Add sandbox to gump

2007-01-18 Thread Mario Ivankovits (JIRA)

 [ 
https://issues.apache.org/jira/browse/VFS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Ivankovits resolved VFS-108.
--

Resolution: Fixed

Thanks alot!

 Add sandbox to gump
 ---

 Key: VFS-108
 URL: https://issues.apache.org/jira/browse/VFS-108
 Project: Commons VFS
  Issue Type: Wish
Reporter: Gilles Scokart

 The sandbox is currently not built in gump.  Because of that, the project 
 (ivy for example) using it can not be built in gump neither.

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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Closed: (VFS-108) Add sandbox to gump

2007-01-18 Thread Mario Ivankovits (JIRA)

 [ 
https://issues.apache.org/jira/browse/VFS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Ivankovits closed VFS-108.



 Add sandbox to gump
 ---

 Key: VFS-108
 URL: https://issues.apache.org/jira/browse/VFS-108
 Project: Commons VFS
  Issue Type: Wish
Reporter: Gilles Scokart

 The sandbox is currently not built in gump.  Because of that, the project 
 (ivy for example) using it can not be built in gump neither.

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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Resolved: (VFS-105) Make it possible to generate VFS sandbox jar with Ant

2007-01-17 Thread Mario Ivankovits (JIRA)

 [ 
https://issues.apache.org/jira/browse/VFS-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Ivankovits resolved VFS-105.
--

   Resolution: Fixed
Fix Version/s: 1.1 Final

Added a maven generated ant build file with tests disabled.

Hope this helps!

Ciao,
Mario

 Make it possible to generate VFS sandbox jar with Ant
 -

 Key: VFS-105
 URL: https://issues.apache.org/jira/browse/VFS-105
 Project: Commons VFS
  Issue Type: Improvement
Reporter: Maarten Coene
 Assigned To: Mario Ivankovits
 Fix For: 1.1 Final


 I use the VFS-sandbox.jar in my project.
 Unfortunately, gump cannot build my project at the moment because the 
 VFS-sandbox.jar isn't available in gump since gump doesn't support M2.
 If this sandbox jar could be built via Ant, it could be made available in 
 gump.
 Maarten

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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: MyFaces PMC += (Bernd, Gerald, Volker)

2007-01-17 Thread Mario Ivankovits
Hi!
 Please welcome our new MyFaces PMC members Bernd Bohmann, Gerald
 Muellan and Volker Weber!
Welcome!

 Therefore last week there was a vote to invite them to the MyFaces
 Project Management Committee (PMC) and both have accepted.
both? I am curious ... Which of them is a single person with dual
identity in reality? ;-)


Ciao,
Mario



[jira] Commented: (VFS-107) large Sftp transfers fail with OutOfMemoryError: Java heap space

2007-01-16 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/VFS-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465113
 ] 

Mario Ivankovits commented on VFS-107:
--

Hi!

The stream-based methods were dog slow in the past. And when I say dog slow, I 
mean they were double dog slow - to an unusable extent ;-)
As far as I remember it had something to do with the piped streams jsch has to 
use internally in case of stream based operations.

I dont know if this has been fixed now, should give it another try.

 large Sftp transfers fail with OutOfMemoryError: Java heap space
 

 Key: VFS-107
 URL: https://issues.apache.org/jira/browse/VFS-107
 Project: Commons VFS
  Issue Type: Bug
Affects Versions: Nightly Builds
 Environment: java version 1.5.0_04
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
 Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
 Linux version 2.6.17-1.2142_FC4 ([EMAIL PROTECTED]) (gcc version 4.0.2 
 20051125 (Red Hat 4.0.2-8)) #1 Tue Jul 11 22:41:14 EDT 2006
Reporter: Marty Lamb

 Calling SftpFileObject.getOutputStream() returns a descendant of 
 ByteArrayOutputStream; nothing is written to the remote sftp server until the 
 OutputStream is closed.  For large data transfers, this exhausts local 
 resources.
 This is noted in the source for SftpFileObject:
   protected OutputStream doGetOutputStream(boolean bAppend) throws 
 Exception
   {
   // TODO - Don't write the entire file into memory. Use the 
 stream-based
   // methods on ChannelSftp once the work properly
   final ChannelSftp channel = fileSystem.getChannel();
   return new SftpOutputStream(channel);
   }
 although it is not clear what once the[y] work properly is referring to.

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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (VFS-105) Make it possible to generate VFS sandbox jar with Ant

2007-01-11 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/VFS-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463835
 ] 

Mario Ivankovits commented on VFS-105:
--

I'll see what I can do, shouldn't be that hard.

Ciao,
Mario

 Make it possible to generate VFS sandbox jar with Ant
 -

 Key: VFS-105
 URL: https://issues.apache.org/jira/browse/VFS-105
 Project: Commons VFS
  Issue Type: Improvement
Reporter: Maarten Coene
 Assigned To: Mario Ivankovits

 I use the VFS-sandbox.jar in my project.
 Unfortunately, gump cannot build my project at the moment because the 
 VFS-sandbox.jar isn't available in gump since gump doesn't support M2.
 If this sandbox jar could be built via Ant, it could be made available in 
 gump.
 Maarten

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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VFS] SFTP exception

2007-01-11 Thread Mario Ivankovits
Hi Mark!
 Exception in thread
 org.apache.commons.vfs.cache.SoftRefFilesCache$SoftRefReleaseThread
 java.lang.NullPointerException
at com.jcraft.jsch.Channel.del(Channel.java:79)
at com.jcraft.jsch.Channel.disconnect(Channel.java:501)
at com.jcraft.jsch.ChannelSftp.disconnect(ChannelSftp.java:2104)
at
 org.apache.commons.vfs.provider.sftp.SftpFileSystem.doCloseCommunicationLink(SftpFileSystem.java:63)

I've never seen this exception.
Hmmm ... just to be sure, did you already tried the version 0.1.23 we
use with VFS [1].

Just to sort out the problem, could you please do so, if this works it
might be a bug in jsch and we have to dig into their code, or report it
on their mailinglist.


Thanks!
Ciao,
Mario

[1] http://jakarta.apache.org/commons/vfs/download.html


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VFS] Why is jcifs/smb not part of 1.0/core?

2007-01-11 Thread Mario Ivankovits
Hi!
 I would like know something about the technical reasons, that jcifs/smb
 filesystem is not part of core/version 1.0. Was the smb part not ready to be
 released as 1.0? So far I did not encounter bugs when using it... 
   
No, sorry, I used the term technical reasons to not make it public
that we had a license incompatibility.
Now they are sorted out, the problem was that ASF and LGPL are not
compatible.
We found a way how to deal with it and so JCIFS/SMB will find its way
back to the core.

 I would also like to know whether
 there are more differences between VFS1.0 and sandbox, besides of
 webdav/jcifs (for example, does sandbox contain some more experimental
 parts, can it contain more bugs,...).
   
Currently the sandbox is just a container for other filesystem
implementations, so it should be possible to safely use the sandbox
without any influence for vfs core.
Beside SMB and WEBDAV we now have a MIME filesystem which allows you to
read e-mail messages like a filesystem.

Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Updated: (MYFACES-1504) oamSetHiddenInput function missing if ...

2007-01-10 Thread Mario Ivankovits (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYFACES-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Ivankovits updated MYFACES-1504:
--

Status: Open  (was: Patch Available)

 oamSetHiddenInput function missing if ...
 -

 Key: MYFACES-1504
 URL: https://issues.apache.org/jira/browse/MYFACES-1504
 Project: MyFaces Core
  Issue Type: Bug
Affects Versions: 1.1.5-SNAPSHOT
 Environment: latest myfaces svn head
Reporter: Mario Ivankovits

 a) ... there is only a commandButton on the form (not commandLinks)
 ... which is not necessarily a problem as normally such a form do not require 
 these functions, BUT when you have enabled the auto_scroll feature things 
 getting worse. Then something like
 oamSetHiddenInput('_idJsp29','autoScroll',getScrolling())
 will be rendered and then the oamSetHiddenInput function is missing.
 b) ... you are using the adf form
 in HtmlLinkRendererBase you'll see that renderFormSubmitScriptIfNecessary 
 will not be called if the link is used within an adf form, then again the 
 autoScroll feature is broken and a javascript error will be shown.
 Would be great if someone else has some time to fix it.

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




Re: [VOTE] dojo upgrade 0.4.1

2007-01-10 Thread Mario Ivankovits
Hi!

+1 to the upgrade

Ciao,
Mario
 I just opened an official vote thread since this is an upgrade
 on the Tomahawk core.

 I ran some tests to test dojo 0.4.1, and I think we can move
 the codebase from 0.4.0. to 0.4.1
 Since this is a major upgrade on the Tomahawk core.
 I wanted to open this official vote thread.


 So if no one has objections we could now push the 0.4.1 bugfix release
 in.


 Werner




Re: [VOTE] Add Matt Benson as a Jakarta committer

2007-01-05 Thread Mario Ivankovits
Henri Yandell schrieb:
 As you can see on the list, Matt would like to help out with JXPath.
 Matt's been an Ant committer since Feb 2004. He's been active on the
 dev/user lists over the last couple of years, so not a new face here
 either.

 [X ] +1
 [ ] -1

Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (SANDBOX-183) Compress should allow for writing to Zip Files

2007-01-04 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/SANDBOX-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462205
 ] 

Mario Ivankovits commented on SANDBOX-183:
--

 wouldn't it be easier just to expand the zipfile in an temp directory

Yea, I am a little bit conservative about this topic too.
How can we know that we do not damage a zip in any case, though, the 
algorithmic used currently seems not that complicated - I don't know.

We should give it  a try, maybe.

Instead of incorporating it into the existing codebase, can't we add it as 
alternative implementation? Something like ZipEx method.
So that we can have both methods (direct alteration and unzip/zip through temp 
dir).

 Compress should allow for writing to Zip Files
 --

 Key: SANDBOX-183
 URL: https://issues.apache.org/jira/browse/SANDBOX-183
 Project: Commons Sandbox
  Issue Type: New Feature
  Components: Compress
Affects Versions: Nightly Builds
Reporter: Will Pugh
 Fix For: Nightly Builds

 Attachments: myzip.zip


 Compress should be able to modify existing ZipFiles.

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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (SANDBOX-183) Compress should allow for writing to Zip Files

2007-01-03 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/SANDBOX-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462159
 ] 

Mario Ivankovits commented on SANDBOX-183:
--

I haven't had the time to give it a try, but looks promising.

Just a few things in advance:

* use the org.apache.commons.compress package prefix (instead of the com.* one)
* add the ASF license header
* use method names with lower-case first letter
* did you already sent a CLA? [1]
* do not use e.printStrackTrace()

Then something technically
* ModifiableZipFile.WriteExistingEntries: when you shift the content you 
allocate a buffer with the full sizeOfBlock size, isn't it dangerous (out of 
memeory) when you have to deal with large zip files, or at least with a large 
compressed entry?

Thanks!
Mario

[1] http://www.apache.org/licenses/#clas

 Compress should allow for writing to Zip Files
 --

 Key: SANDBOX-183
 URL: https://issues.apache.org/jira/browse/SANDBOX-183
 Project: Commons Sandbox
  Issue Type: New Feature
  Components: Compress
Affects Versions: Nightly Builds
Reporter: Will Pugh
 Fix For: Nightly Builds

 Attachments: myzip.zip


 Compress should be able to modify existing ZipFiles.

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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: VFS and EMF Awareness

2007-01-02 Thread Mario Ivankovits
Hi!
 http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.emf.doc/references/javadoc/org/eclipse/emf/common/util/class-use/URI.html
   
Hmmm ... for what I can see you can directly reference a file (even
within an archive) but then there are some basic things missing:

* list of children
* rename/move operations
* meta data handling
etc

Without looking at the source, maybe it could be possible to create a
VFS backed URI implementation, though, from some previous discussions
about using VFS in eclipse it turned out that they implemented a high
performance native code local filesystem implementation. It might be a
performance loss for eclipse if they use VFS without porting this native
implementation to VFS first.

Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[NET] Re: listFiles throws SocketException: Connection reset even in passive mode

2006-12-31 Thread Mario Ivankovits
Hi!
 PS Don't forget to prefix the subject lines of your email with [VFS]
 as this list is shared by a lot of different groups.
H ... I think the user uses plain NET, so redirecting to [NET]


Happy new year!

Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANNOUNCEMENT] Commons VFS 1.0 released

2006-12-30 Thread Mario Ivankovits
Hi!

I'd like to announce that Commons VFS 1.0 has been released.

Commons VFS provides a single API for accessing various different file
systems. It presents a uniform view of the files from various different
sources, such as the files on local disk, on an HTTP server, or inside a
Zip archive.
For example, you can use filenames like
tar:gz:http://anyhost/dir/mytar.tar.gz!/mytar.tar!/path/in/tar/README.txt;
to access a compressed tar file located on a web server.

Commons VFS 1.0 is the first release


For more information on Commons VFS, please visit its website:

http://jakarta.apache.org/commons/vfs/


Commons VFS is available in either binary or source form from:

http://jakarta.apache.org/site/downloads/downloads-commons-vfs.cgi


Happy New Year !!

Mario Ivankovits
on behalf of the Commons community

PS: Thanks to everyone who contributed (in any way - testing, patches,
discussions, development, etc) to the project and finally helped to make
this release happen.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANNOUNCEMENT] Commons VFS 1.0 released

2006-12-30 Thread Mario Ivankovits
Hi!

I'd like to announce that Commons VFS 1.0 has been released.

Commons VFS provides a single API for accessing various different file
systems. It presents a uniform view of the files from various different
sources, such as the files on local disk, on an HTTP server, or inside a
Zip archive.
For example, you can use filenames like
tar:gz:http://anyhost/dir/mytar.tar.gz!/mytar.tar!/path/in/tar/README.txt;
to access a compressed tar file located on a web server.

Commons VFS 1.0 is the first release


For more information on Commons VFS, please visit its website:

http://jakarta.apache.org/commons/vfs/


Commons VFS is available in either binary or source form from:

http://jakarta.apache.org/site/downloads/downloads-commons-vfs.cgi


Happy New Year !!

Mario Ivankovits
on behalf of the Commons community

PS: Thanks to everyone who contributed (in any way - testing, patches,
discussions, development, etc) to the project and finally helped to make
this release happen.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[RESULT][VOTE][VFS] release commons-vfs 1.0 based on RC10

2006-12-28 Thread Mario Ivankovits
Hi!

Sorry for being late, I am ill, though, it's getting better slowly :-(

The vote to release commons-vfs 1.0 has passed.

Details:
+1

Henry Yandell
Niall Pemberton
Oliver Heger
Jörg Schaible
Rahul Akolkar
Martin van den Bernt
Phil Steitz
Mario Ivankovits

No other votes.


The voting thread can be found here [1]


Thanks to everyone who voted and - more generally - to everyone who
shared the effort to make this release come true!

Next I'll put the website online and move the artifacts to their
intended place, I'll post the announcement tomorrow to be sure the
artifact has been mirrored.

Ciao,
Mario


[1] http://www.mail-archive.com/commons-dev@jakarta.apache.org/msg88020.html


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [RESULT][VOTE][VFS] release commons-vfs 1.0 based on RC10

2006-12-28 Thread Mario Ivankovits
Hi Henri!

 http://people.apache.org/~bayard/j-c-release/announce-email.html

 For what we currently do it really just means reminding us to explain
 what Commons Foo is and not assume the reader knows.
Ok, thanks!
Will try my best.

Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [jira] Commented: (NET-61) [net] FTPClient.listFiles() hangs on Red Hat Linux

2006-12-23 Thread Mario Ivankovits
Hi!
 I do the following:

 * Include the Bugzilla/JIRA number in the svn commit.
 * Copy and paste the svn commit lines into the JIRA comment.
I bet I'd have seen JIRA doing such thing automatically if you add the
JIRA-xxx bug number in the commit message.
I've seen that JIRA automatically lists all changed files for this
commit then.

Is there something which needs to be configured to make this work?


Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE][VFS] release commons-vfs 1.0 based on RC10

2006-12-21 Thread Mario Ivankovits
Hi!

 Sorry for having caused you some trouble the last time.
It wasn't your fault, it was mine. You've done a great job!


Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE][VFS] release commons-vfs 1.0 based on RC10

2006-12-21 Thread Mario Ivankovits

+1 ;-)

---
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Attribute for

2006-12-21 Thread Mario Ivankovits
Hi!
 in jsf  1.2 the component tree is created and rendered during reading
 the jsp.
should have been jsf  1.2

Ciao,
Mario



Re: Attribute for

2006-12-21 Thread Mario Ivankovits
Hi!
 Is there any solution?
 I can use t:dataScroller before t:dataTable and there are no problems
 with the for element.
   

Hmmm ... did you put your dataScroller/dataTable combination within an
panelGroup, as far as I remember that helped.

Though, don't you have any problems with the dataScroller BEFORE the table?
According to [1]  this is not possible and requires t:buffer to
workaround. Well, it is possible, but as far as I remember the output is
always one page too late.

Ciao,
Mario


[1] http://www.irian.at/myfaces/buffer.jsf



Re: [VOTE][VFS] release commons-vfs 1.0 based on RC10

2006-12-20 Thread Mario Ivankovits
Hi Jörg!
 It's already changed for the m2 build. I don't know if its worth to
 relocate the m1.
 

 It's just that the M1 and M2 repos are kind of mirrored. Using the groupId in 
 one repo means automatically the same for the M2 repo. But again, this is no 
 stopper for the current release, we have plenty of component to relocate 
 after the switch :)
   
good :-)

 This get succeeded!! Unhappily the ant build do not stop now but tries
 the other possible repositories too.
 

 Sorry, I should have looked better myself ...
   
No problem!

 testSetLastModified(org.apache.commons.vfs.test.LastModifiedTe
 sts):FAILED


 My Gentoo Linux is running on XFS, tests done with JDK 1.5.0.10. I will have 
 a closer look at the test this evening. Which JDK did you try? At least in 
 current Win releases of JDK 5 Sun did some changes in the native FS code of 
 the VM (longer paths than 260 chars g), other changes might have happened 
 for other native FS support code too.
   
During the distribution build I use jdk 1.4, else I use JDK 1.5.0.9 or
JDK 1.6.
From the Exception I can see that setting the lastModTime simply didnt work.

Hmmm ... maybe try also:

FileObject fo = VFS.getManager().resolveFile(/tmp/anyFile.txt);
fo.createFile();
Thread.sleep(2000);
long setTo = System.currentTimeMillis();
fo.getContent().setLastModifiedTime(setTo);
System.err.println(setTo);
System.err.println(fo.getContent().getLastModifiedTime());

(code just top off my head, so sorry for any error)

both outputs should show the same time, please also compare it with
# stat /tmp/anyFile.txt


I've tried some tests with xfs now (not the complete test suite, just
the lastModTime stuff) and it works here, though, what I have seen is,
that VFS do not check if setLastModified succeed, thus, if java reports
false this will be silently ignored.

I've seen it will report false if the file and/or directory has the
wrong permission. Please double check if you are the owner of the file
and/or the correct rwx permissions are set.

I'll schedule a fix for it for VFS 1.1, then it will throw an exception
if it was not possible to change the lastModTime.


Ciao,
Mario


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



<    4   5   6   7   8   9   10   11   12   13   >