[jitsi-dev] patch for resources/install/build.xml


#1

Hi,

resources/install/build.xml has a typo. Targets cannot start with a "-".

Attached you can find the patch.

Rainer

build.xml.diff (1.08 KB)


#2

Those are the so called "private" Ant targets. You can prefix your target name with an hyphen ("-") which makes it impossible to be called from Ant command line.

Pavel Tankov

···

On 25.окт..2013, at 00:25, Rainer Sokoll wrote:

Hi,

resources/install/build.xml has a typo. Targets cannot start with a "-".

Attached you can find the patch.

Rainer
<build.xml.diff>_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

Hi,

Those are the so called "private" Ant targets. You can prefix your
target name with an hyphen ("-") which makes it impossible to be
called from Ant command line.

But "ant -p" lists it as a valid target.
Please be fair, this is my very first meeting with ant :wink:

Rainer

···

On Fri, Oct 25, 2013 at 12:32:36AM +0300, Pavel Tankov wrote:


#4

But "ant -p" lists it as a valid target.

That's why I put "private" in quotes. It's a hack or a convention, if you will. I haven't tried but they say those tasks can't be invoked on the command line. Anyway, you're not supposed to invoke them even if you could. Another such is to consider private those Ant tasks that don't have a description.

Pavel Tankov

···

On 25.окт..2013, at 00:40, Rainer Sokoll wrote:

On Fri, Oct 25, 2013 at 12:32:36AM +0300, Pavel Tankov wrote:

Hi,

Those are the so called "private" Ant targets. You can prefix your
target name with an hyphen ("-") which makes it impossible to be
called from Ant command line.

But "ant -p" lists it as a valid target.
Please be fair, this is my very first meeting with ant :wink:

Rainer
_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#5

Hi,

> But "ant -p" lists it as a valid target.
That's why I put "private" in quotes. It's a hack or a convention, if
you will.

OK, I think I understand.

I haven't tried but they say those tasks can't be invoked on the
command line

It cannot, because ant trats a leading dash as an option.

Anyway, you're not supposed to invoke them even if you could.

My apologies :slight_smile:
Anyway: What I really wanted to achieve, is a Debian package. Then I
poked with ant, found "ant -p" - and it told me about
"-make-deb-package". And I felt happy. Until I tried it :slight_smile:
But I think I have to learn more about ant and Debian packaging - and I
do not want to spam this list with my ignorance.

Rainer

···

On Fri, Oct 25, 2013 at 12:52:01AM +0300, Pavel Tankov wrote:


#6

Try the "deb-32" or "deb-64" Ant targets depending on your architecture.

Pavel Tankov

···

On 25.окт..2013, at 01:09, Rainer Sokoll wrote:

On Fri, Oct 25, 2013 at 12:52:01AM +0300, Pavel Tankov wrote:

Hi,

But "ant -p" lists it as a valid target.

That's why I put "private" in quotes. It's a hack or a convention, if
you will.

OK, I think I understand.

I haven't tried but they say those tasks can't be invoked on the
command line

It cannot, because ant trats a leading dash as an option.

Anyway, you're not supposed to invoke them even if you could.

My apologies :slight_smile:
Anyway: What I really wanted to achieve, is a Debian package. Then I
poked with ant, found "ant -p" - and it told me about
"-make-deb-package". And I felt happy. Until I tried it :slight_smile:
But I think I have to learn more about ant and Debian packaging - and I
do not want to spam this list with my ignorance.

Rainer
_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev