Simple build instructions for Java classes?

68 views
Skip to first unread message

MatMan

unread,
Sep 17, 2011, 6:18:23 PM9/17/11
to dbfit
Hi all,

I'm new to DBFit and I'm looking into implementing a new class to
allow testing of Teradata code.

I'm fairly new to Java and Maven too.

I've checked out a copy of the source from from the SVN repository but
my Maven builds are failing. Is Eclipse the alternative?

Are there any basic build instructions for newbies somewhere that I
can use to get up and running?

E.g. Maven version, JDK version, Eclipse version, SVN, etc, etc,
command lines to run, things to click, etc?

Any help would be appreciated!

Regards,

Mark

Gojko Adzic

unread,
Sep 18, 2011, 12:36:10 PM9/18/11
to dbfit
Hi,

the maven site is offline now. see this thread for instructions how to
grab the contents:

http://groups.google.com/group/dbfit/browse_thread/thread/685ca0c23d644c53

--
Gojko Adzic
http://gojko.net @gojkoadzic +447765132680

MatMan

unread,
Sep 18, 2011, 2:14:13 PM9/18/11
to dbfit
Thanks for your response.

I've had a look through the code and I think I can faily easily put
together the class that I need for Teradata (for testing of ETL
processes that load the data warehouse) but I'm really new to maven.
Can you point me in the direction of any instructions or anyone that
can help me to run a first build from this archive?

The problem of database guys not knowing Java and needing Java devs
still doesn't go away...!

Mark


On Sep 18, 5:36 pm, Gojko Adzic <goj...@gmail.com> wrote:
> Hi,
>
> the maven site is offline now. see this thread for instructions how to
> grab the contents:
>
> http://groups.google.com/group/dbfit/browse_thread/thread/685ca0c23d6...
>
> --
> Gojko Adzichttp://gojko.net@gojkoadzic +447765132680
>
> On Sep 17, 11:18 pm, MatMan <mark_mat...@hotmail.com> wrote:
>
>
>
> > Hi all,
>
> > I'm new to DBFit and I'm looking into implementing a new class to
> > allow testing of Teradata code.
>
> > I'm fairly new to Java and Maven too.
>
> > I've checked out a copy of the source from from the SVN repository but
> > my Maven builds are failing. Is Eclipse the alternative?
>
> > Are there any basic build instructions for newbies somewhere that I
> > can use to get up and running?
>
> > E.g. Maven version, JDK version, Eclipse version, SVN, etc, etc,
> > command lines to run, things to click, etc?
>
> > Any help would be appreciated!
>
> > Regards,
>
> > Mark- Hide quoted text -
>
> - Show quoted text -

MatMan

unread,
Oct 15, 2011, 5:13:22 AM10/15/11
to dbfit
Right, I've built DbFit1.1 and written my Teradata class. All working
well.

Community - please help!

Now, I'd like to see what's new in 2.0. I've installed maven and read
some docs but Maven's telling me that it can't resolve a dependency to
ojdbc14.jar. I've got the Maven repo copy from the link on the above
mentioned post and pointed the parent POM to the file:// repo instead
of the http:// repo.

I've got the file, from Oracle.com, and installed into my local Maven
repo: -

mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -
Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=c:\temp\ojdbc14.jar

and it tells me that: -

[INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @
oracle ---
[INFO] Installing c:\user\mark matten\downloads\ojdbc14.jar to C:\Users
\Mark Matten\.m2\repository\com\oracle\ojdbc14.jar\10.2.0.2.0
\ojdbc14.jar-10.2.0.2.0.jar
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS

When building though (mvn compile, or, mvn clean install) my error is
still: -

[ERROR] Failed to execute goal on project oracle: Could not resolve
dependencies for project com.neuri.dbfit:oracle:jar:2.0.0-SNAPSH
OT: Failure to find com.oracle:ojdbc14:jar:10.2.0.2.0 in
file://c:/temp/maven.neuri.com was cached in the local repository,
resoluti
on will not be reattempted until the update interval of neuri-maven
has elapsed or updates are forced -> [Help 1]

Any help from the community would be appreciated! Thanks!



On Sep 18, 7:14 pm, MatMan <mark_mat...@hotmail.com> wrote:
> Thanks for your response.
>
> I've had a look through the code and I think I can faily easily put
> together the class that I need for Teradata (for testing of ETL
> processes that load the data warehouse) but I'm really new tomaven.
> Can you point me in the direction of any instructions or anyone that
> can help me to run a first build from this archive?
>
> The problem of database guys not knowing Java and needing Java devs
> still doesn't go away...!
>
> Mark
>
> On Sep 18, 5:36 pm, Gojko Adzic <goj...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > themavensite is offline now. see this thread for instructions how to
> > grab the contents:
>
> >http://groups.google.com/group/dbfit/browse_thread/thread/685ca0c23d6...
>
> > --
> > Gojko Adzichttp://gojko.net@gojkoadzic+447765132680
>
> > On Sep 17, 11:18 pm, MatMan <mark_mat...@hotmail.com> wrote:
>
> > > Hi all,
>
> > > I'm new to DBFit and I'm looking into implementing a new class to
> > > allow testing of Teradata code.
>
> > > I'm fairly new to Java andMaventoo.
>
> > > I've checked out a copy of the source from from the SVN repository but
> > > myMavenbuilds are failing. Is Eclipse the alternative?
>
> > > Are there any basic build instructions for newbies somewhere that I
> > > can use to get up and running?
>
> > > E.g.Mavenversion, JDK version, Eclipse version, SVN, etc, etc,
> > > command lines to run, things to click, etc?
>
> > > Any help would be appreciated!
>
> > > Regards,
>
> > > Mark- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages