Brian:
I am getting this error while trying to run tests.
-------------------------
C:\dbmigrator\migratosaur>%JAVA_HOME%\bin\java -classpath
"lib\ant.jar;lib\bsh-1.2b7.jar;lib\commons-collections.jar;lib\hsqldb.ja
r;lib\jdom.jar;lib\junit.jar" -Djhome=%JAVA_HOME%
org.apache.tools.ant.Main run
%JAVA_HOME%\bin\java -classpath
"lib\ant.jar;lib\bsh-1.2b7.jar;lib\commons-collections.jar;lib\hsqldb.ja
r;lib\jdom.jar;lib\junit.jar" -Djhome=%JAVA_HOME%
org.apache.tools.ant.Main run
Buildfile: build.xml
run:
[java] Wheeeeee
[java] java.lang.NullPointerException
[java] at
org.skife.migrate.loaders.XMLStepLoader.<init>(Unknown Source)
[java] at
org.skife.migrate.loaders.XMLStepLoader.<init>(Unknown Source)
[java] at org.skife.migrate.exec.Driver.main(Unknown Source)
[java] Exception in thread "main"
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 1 second
C:\dbmigrator\migratosaur>
-----Original Message-----
From: Brian McCallister [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 21, 2004 5:06 PM
To: OJB Users List
Subject: Re: REPOST: OJB's support for object migration: [e.g torque
table schema- how to alter existing table ]
There aren't many docs. best way to get it is to build from CVS. There
are samples and some docs included in the cvs download. Is not a *big*
project, and I'd be happy to help you figure out how to use it.
Best way to get started is to pull from CVS (is always stable) and look
at the samples. If you think of something it needs, I'll prolly be
happy to put it in. I use this thing pretty much every day.
-Brian
On Sep 21, 2004, at 7:13 PM, Ajitesh Das wrote:
>
> Brian:
> I am not able to d'load the project or able to find any docs.
> Can u send me the pointer?
> ~ajitesh
>
> -----Original Message-----
> From: Brian McCallister [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 21, 2004 3:03 PM
> To: OJB Users List
> Subject: Re: REPOST: OJB's support for object migration: [e.g torque
> table schema- how to alter existing table ]
>
> OJB doesn't transparently migrate data -- I don't know of any good
> high-level general purpose tool which can do that. I wrote an
> incremental data-migration oriented tool a while back, but it doesn't
> use an o/r mapping. Simple is a dependency resolver with convenience
> features for database migrations.
>
> http://migratosaur.dev.java.net
>
> Nothing fancy about it, but it is maintained and works well for me =)
> No automated schema change discovery and guesswork -- no way to *know*
> the intention of changes, unfortunately. Any migration requires some
> human integration.
>
> I can imagine a "database refactoring browser" with a
> drag/click-and-act/etc type thing which encapsulates the actions into
a
> serializable thing to automate this, but to my knowledge no one has
> written one.
>
> -Brian
>
> On Sep 21, 2004, at 5:57 PM, Ajitesh Das wrote:
>
>> Reposting again. Let's see if anybody has any recommendation.
>>
>> -----Original Message-----
>> Hi List:
>> I like to know if anybody who uses OJB platform in his product has
> done
>> anything on object model migration. This seems to be a missing piece
> in
>> OJB project. Am I missing something?
>> Example Scenario:
>> I have an existing application that uses OJB as OR platform contains
a
>> set of business objects.
>> In this new release, we are altering the definition of business
object
>> by adding new fields for some objects and deleting some fields for
>> others. I would like to know how other users are handling the two
>> situations: (a) When you add a new field to an existing object and
(b)
>> when you delete a field in an existing object. So that the old data
> can
>> be kept and properly defaulted.
>>
>> I have searched the Wiki ,docs and mail archive but could not find
any
>> recommendation/reference from the OJB developers/gurus or reference
to
>> some design patterns.
>>
>> Regds
>> Ajitesh
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]