Comments inline ....
--- Prasad Kashyap <[EMAIL PROTECTED]>
wrote:
> The following line seems to be the culprit.
> gbean.setAttribute("baseDirectory", ".");
>
> You may already have got the system property
> "basedir" and used it in
> the line above.
>
> M2 builds run the tests in the same jvm. So the
> following props set in
> an earlier BasicServerInfo object is left behind.
> org.apache.geronimo.home.dir
> org.apache.geronimo.server.dir.
Are you also having problems running
surefire-plugin with forkmode=once?
>
> Try to unset those too before you begin the test.
>
> Cheers
> Prasaf
>
>
>
> On 3/14/06, Prasad Kashyap
> <[EMAIL PROTECTED]> wrote:
> > Anita,
> >
> > The path doesn't look right. Where's the module
> name in that path ?
> >
>
D:\anita\geronimo\geronimo-1.1\.\src\test-data\data\users.properties
> >
> > Seems like user.dir property is being used instead
> of basedir.
At first, I also thought that this path was the
culprit. But the same path is used in maven1 build and
the other m2 build and the properties file is found.
The following appears on the console just before
the java-io.FileNotFoundException.
ERROR [Socket Connection: /127.0.0.1:4242 ->
/127.0.0.1:1580] Properties File Lo
gin Module - data load failed
java.io.FileNotFoundException........................
Thnaks
Anita
> >
> > Cheers
> > Prasad
> >
> > On 3/14/06, anita kulshreshtha
> <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > > I am trying to debug a strange problem in
> security
> > > module (rev 385723). The module builds fine with
> > > maven1 build. It builds fine with m2 from
> 'security'
> > > directory. When I build from the top level
> directory
> > > using
> > > mvn -Dmodule=security clean test
> > > I get build failures. I have attached the
> report for
> > > ConfigurationEntryTest. The main cause of
> failures in
> > > three tests is :
> > > ERROR [main] Properties File Login Module - data
> load
> > > failed
> > > java.io.FileNotFoundException:
> > >
> > >
>
D:\anita\geronimo\geronimo-1.1\.\src\test-data\data\users.properties
> > > (The system
> > >
> > > cannot find the path specified)
> > > at java.io.FileInputStream.open(Native
> Method)
> > > at
> > >
>
java.io.FileInputStream.<init>(FileInputStream.java:106)
> > > at
> > >
>
java.io.FileInputStream.<init>(FileInputStream.java:66)
> > > at
> > >
> > >
>
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
> > > at
> > >
> > >
>
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.jav
> > >
> > > a:156)
> > > at java.net.URL.openStream(URL.java:913)
> > > any ideas?
> > >
> > > Thanks
> > > Anita
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam
> > > protection around
> > > http://mail.yahoo.com
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > > http://mail.yahoo.com
> >
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com