[sip-comm-dev] Runaway build.xml warnings


#1

Hi devs,

Just to have the answer here on the dev mailing list because I
remember Yana looked into them before and I've been trying to chase
them for some time.

When running "ant rebuild", for example, there are these three...
strange warnings:

warning: [path] bad path element
"/home/lubomir/src/sip-communicator/trunk/lib/installer-exclude/lib/jcommon-1.0.0.jar":
no such file or directory
warning: [path] bad path element
"/home/lubomir/src/sip-communicator/trunk/lib/installer-exclude/smack.jar,":
no such file or directory
warning: [path] bad path element
"/home/lubomir/src/sip-communicator/trunk/lib/os-specific/mac/installer-exclude/lib/Java":
no such file or directory

These are caused by classpath definitions in manifest files inside
.jar files. For example, lib/Java (which appears in the last warning)
is defined in the manifest file of dock.jar and the erronously-looking
"smack.jar," is defined in the manifest of smackx-jingle.jar as
"smack.jar, smackx.jar".

Regards,
Lubomir

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hi,

the manifest file of dock.jar can be removed, because its not used and
has just left from building the jar file with netbeans.

damencho

···

On Wed, Nov 11, 2009 at 11:30 AM, Lubomir Marinov <lubo@sip-communicator.org> wrote:

Hi devs,

Just to have the answer here on the dev mailing list because I
remember Yana looked into them before and I've been trying to chase
them for some time.

When running "ant rebuild", for example, there are these three...
strange warnings:

warning: [path] bad path element
"/home/lubomir/src/sip-communicator/trunk/lib/installer-exclude/lib/jcommon-1.0.0.jar":
no such file or directory
warning: [path] bad path element
"/home/lubomir/src/sip-communicator/trunk/lib/installer-exclude/smack.jar,":
no such file or directory
warning: [path] bad path element
"/home/lubomir/src/sip-communicator/trunk/lib/os-specific/mac/installer-exclude/lib/Java":
no such file or directory

These are caused by classpath definitions in manifest files inside
.jar files. For example, lib/Java (which appears in the last warning)
is defined in the manifest file of dock.jar and the erronously-looking
"smack.jar," is defined in the manifest of smackx-jingle.jar as
"smack.jar, smackx.jar".

Regards,
Lubomir

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hey Lubomir,

I've been meaning to look into these for a while now but am glad you
beat me to it. We should try and fix these one of these days.

Cheers,
Emil

···

On Wed, Nov 11, 2009 at 6:30 PM, Lubomir Marinov <lubo@sip-communicator.org> wrote:

Hi devs,

Just to have the answer here on the dev mailing list because I
remember Yana looked into them before and I've been trying to chase
them for some time.

When running "ant rebuild", for example, there are these three...
strange warnings:

warning: [path] bad path element
"/home/lubomir/src/sip-communicator/trunk/lib/installer-exclude/lib/jcommon-1.0.0.jar":
no such file or directory
warning: [path] bad path element
"/home/lubomir/src/sip-communicator/trunk/lib/installer-exclude/smack.jar,":
no such file or directory
warning: [path] bad path element
"/home/lubomir/src/sip-communicator/trunk/lib/os-specific/mac/installer-exclude/lib/Java":
no such file or directory

These are caused by classpath definitions in manifest files inside
.jar files. For example, lib/Java (which appears in the last warning)
is defined in the manifest file of dock.jar and the erronously-looking
"smack.jar," is defined in the manifest of smackx-jingle.jar as
"smack.jar, smackx.jar".

Regards,
Lubomir

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31


#4

Hi,

Here are fixed jars attached. Now remaining warnings are "Sun proprietary
API" related ones (sun.net.util.IPAddressUtil and
sun.awt.shell.ShellFolder).

By the way I add a patch that fix SRTP warnings (fallthrough), fix "ant
javadoc" on Linux x86-64 (OutOfMemory) and finally fix a typo in
LocalhostRetriever source.

Best regards,

jfreechart-1.0.1.jar (1.03 MB)

smackx-jingle.jar (311 KB)

dock.jar (5.42 KB)

sip-communicator-r6317.patch (2.02 KB)

···

--
Sebastien Vincent

On Wed, 11 Nov 2009 11:39:17 +0200, Damian Minkov <damencho@damencho.com> wrote:

Hi,

the manifest file of dock.jar can be removed, because its not used and
has just left from building the jar file with netbeans.

damencho

On Wed, Nov 11, 2009 at 11:30 AM, Lubomir Marinov > <lubo@sip-communicator.org> wrote:

Hi devs,

Just to have the answer here on the dev mailing list because I
remember Yana looked into them before and I've been trying to chase
them for some time.

When running "ant rebuild", for example, there are these three...
strange warnings:

warning: [path] bad path element

"/home/lubomir/src/sip-communicator/trunk/lib/installer-exclude/lib/jcommon-1.0.0.jar":

no such file or directory
warning: [path] bad path element

"/home/lubomir/src/sip-communicator/trunk/lib/installer-exclude/smack.jar,":

no such file or directory
warning: [path] bad path element

"/home/lubomir/src/sip-communicator/trunk/lib/os-specific/mac/installer-exclude/lib/Java":

no such file or directory

These are caused by classpath definitions in manifest files inside
.jar files. For example, lib/Java (which appears in the last warning)
is defined in the manifest file of dock.jar and the erronously-looking
"smack.jar," is defined in the manifest of smackx-jingle.jar as
"smack.jar, smackx.jar".

Regards,
Lubomir

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

Hi Sebastien,

Thank you for the contributions! I committed them into trunk and
acknowledged them on our "Team and Contributors" page.

Regards,
Lubomir

···

On Mon, Nov 16, 2009 at 9:57 AM, Sebastien Vincent <sebastien.vincent@cppextrem.com> wrote:

Hi,

Here are fixed jars attached. Now remaining warnings are "Sun proprietary
API" related ones (sun.net.util.IPAddressUtil and
sun.awt.shell.ShellFolder).

By the way I add a patch that fix SRTP warnings (fallthrough), fix "ant
javadoc" on Linux x86-64 (OutOfMemory) and finally fix a typo in
LocalhostRetriever source.

Best regards,
--
Sebastien Vincent

On Wed, 11 Nov 2009 11:39:17 +0200, Damian Minkov <damencho@damencho.com> > wrote:

Hi,

the manifest file of dock.jar can be removed, because its not used and
has just left from building the jar file with netbeans.

damencho

On Wed, Nov 11, 2009 at 11:30 AM, Lubomir Marinov >> <lubo@sip-communicator.org> wrote:

Hi devs,

Just to have the answer here on the dev mailing list because I
remember Yana looked into them before and I've been trying to chase
them for some time.

When running "ant rebuild", for example, there are these three...
strange warnings:

warning: [path] bad path element

"/home/lubomir/src/sip-communicator/trunk/lib/installer-exclude/lib/jcommon-1.0.0.jar":

no such file or directory
warning: [path] bad path element

"/home/lubomir/src/sip-communicator/trunk/lib/installer-exclude/smack.jar,":

no such file or directory
warning: [path] bad path element

"/home/lubomir/src/sip-communicator/trunk/lib/os-specific/mac/installer-exclude/lib/Java":

no such file or directory

These are caused by classpath definitions in manifest files inside
.jar files. For example, lib/Java (which appears in the last warning)
is defined in the manifest file of dock.jar and the erronously-looking
"smack.jar," is defined in the manifest of smackx-jingle.jar as
"smack.jar, smackx.jar".

Regards,
Lubomir

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net