How can I get the Shark Enhydra version number?

View: New views
5 Messages — Rating Filter:   Alert me  

How can I get the Shark Enhydra version number?

by Bert Schultheiss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Sasa,
Congratulations on the new version!

An API question:
how could I get this version number "2.2-1"  using a Shark library Java API call?

The purpose is just to log in my application which version of Enhydra Shark is being used.

Kind regards,
Bert Schultheiss

(PS: an earlier sent e-mail with same content did somehow not reach the mailing list - this is a retry)


--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: How can I get the Shark Enhydra version number?

by Sasa Bojanic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Bert,

currently there is no way to get the version number through the shark
library API call.

However, our Swing Admin application reads a property file (which is
updated during our distribution process based on information we define
in build.properties from the root of the source project) to find out
what is the current Shark version. Take a look at BuildInfo class from
the source code
%SHARK_SRC_HOME%\modules\SharkSwingClient\src\org\enhydra\shark\swingclient\BuildInfo.java

Greetings,
Sasa.

bert schultheiss wrote:

> Dear Sasa,
> Congratulations on the new version!
>
> An API question:
> how could I get this version number "2.2-1"  using a Shark library
> Java API call?
>
> The purpose is just to log in my application which version of Enhydra
> Shark is being used.
>
> Kind regards,
> Bert Schultheiss
>
> (PS: an earlier sent e-mail with same content did somehow not reach
> the mailing list - this is a retry)


--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: How can I get the Shark Enhydra version number?

by Bert Schultheiss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for the answer - this will do nicely!

(The only minor point is that I will have to pack sharkswingclientbase.jar into my application - but of course I could extract the properties file and the BuildInfo class).

Bert

2008/8/8 Sasa Bojanic <sasaboy@...>
Dear Bert,

currently there is no way to get the version number through the shark library API call.

However, our Swing Admin application reads a property file (which is updated during our distribution process based on information we define in build.properties from the root of the source project) to find out what is the current Shark version. Take a look at BuildInfo class from the source code %SHARK_SRC_HOME%\modules\SharkSwingClient\src\org\enhydra\shark\swingclient\BuildInfo.java

Greetings,
Sasa.


bert schultheiss wrote:
Dear Sasa,
Congratulations on the new version!

An API question:
how could I get this version number "2.2-1"  using a Shark library Java API call?

The purpose is just to log in my application which version of Enhydra Shark is being used.

Kind regards,
Bert Schultheiss

(PS: an earlier sent e-mail with same content did somehow not reach the mailing list - this is a retry)



--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Re: How can I get the Shark Enhydra version number?

by Bert Schultheiss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Sasa,

In version 2.5-1, I cannot find BuildInfo.java anymore.
How can I get a Shark version number?

Kind regards,
Bert Schultheiss

2008/8/8 Sasa Bojanic <sasaboy@...>
Dear Bert,

currently there is no way to get the version number through the shark library API call.

However, our Swing Admin application reads a property file (which is updated during our distribution process based on information we define in build.properties from the root of the source project) to find out what is the current Shark version. Take a look at BuildInfo class from the source code %SHARK_SRC_HOME%\modules\SharkSwingClient\src\org\enhydra\shark\swingclient\BuildInfo.java

Greetings,
Sasa.


bert schultheiss wrote:
Dear Sasa,
Congratulations on the new version!

An API question:
how could I get this version number "2.2-1"  using a Shark library Java API call?

The purpose is just to log in my application which version of Enhydra Shark is being used.

Kind regards,
Bert Schultheiss

(PS: an earlier sent e-mail with same content did somehow not reach the mailing list - this is a retry)



--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Re: How can I get the Shark Enhydra version number?

by Bert Schultheiss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all,

I should have searched first - the BuildInfo.java has moved from org.enhydra.shark.swingclient.BuildInfo to org.enhydra.shark.BuildInfo (a logical move!).

Regards,
Bert Schultheiss

2009/10/1 bert schultheiss <bertschultheiss@...>
Dear Sasa,

In version 2.5-1, I cannot find BuildInfo.java anymore.
How can I get a Shark version number?

Kind regards,
Bert Schultheiss

2008/8/8 Sasa Bojanic <sasaboy@...>
Dear Bert,


currently there is no way to get the version number through the shark library API call.

However, our Swing Admin application reads a property file (which is updated during our distribution process based on information we define in build.properties from the root of the source project) to find out what is the current Shark version. Take a look at BuildInfo class from the source code %SHARK_SRC_HOME%\modules\SharkSwingClient\src\org\enhydra\shark\swingclient\BuildInfo.java

Greetings,
Sasa.


bert schultheiss wrote:
Dear Sasa,
Congratulations on the new version!

An API question:
how could I get this version number "2.2-1"  using a Shark library Java API call?

The purpose is just to log in my application which version of Enhydra Shark is being used.

Kind regards,
Bert Schultheiss

(PS: an earlier sent e-mail with same content did somehow not reach the mailing list - this is a retry)



--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws





--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws