Fórumok

The command Ant is either false written or unable to find

thumbnail
Joga Krish, módosítva 11 év-val korábban

The command Ant is either false written or unable to find

Junior Member Bejegyzések: 38 Csatlakozás dátuma: 2013.01.08. Legújabb bejegyzések
Hallo Everyone,

I want to create a Theme using liferay.
In the command prompt I have navigated to the SDK and to themes directory and entered the following command

create.bat deep-blue "Deep Blue"

and i get an error
"The command Ant is either false written or unable to find".

I am unable to find the way out . Can anyone please help me.


Regards,
Krishna.

Mellékletek:

thumbnail
Hitoshi Ozawa, módosítva 11 év-val korábban

RE: The command Ant is either false written or unable to find

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
Did you install apache ant on your environment?
thumbnail
Joga Krish, módosítva 11 év-val korábban

RE: The command Ant is either false written or unable to find

Junior Member Bejegyzések: 38 Csatlakozás dátuma: 2013.01.08. Legújabb bejegyzések
I have installed Apache maven.

In the installation process of Liferay+Eclipse+ IDE it did not explain or suggest to add Apache ant.

Regards
Krishna

Mellékletek:

thumbnail
Hitoshi Ozawa, módosítva 11 év-val korábban

RE: The command Ant is either false written or unable to find

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
If you're using Liferay IDE, why are you executing ant command instead of just creating theme from the Liferay IDE GUI?
thumbnail
Joga Krish, módosítva 11 év-val korábban

RE: The command Ant is either false written or unable to find

Junior Member Bejegyzések: 38 Csatlakozás dátuma: 2013.01.08. Legújabb bejegyzések
HI

I am not sure whether am executing ant command .

http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/creating-a-theme

I am following the description in the above link to create a theme in liferay.

As it mentioned in the description, I have created a new project in liferay and trying to run this command

create.bat "deep-blue" Deep Blue
and I get the problem emoticon

Mellékletek:

thumbnail
David H Nebinger, módosítva 11 év-val korábban

RE: The command Ant is either false written or unable to find

Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
Joga Krish:
I am not sure whether am executing ant command .


Trust us, you are. The shell/batch scripts are helpers for invoking ant. You need ant if you're using the SDK.
thumbnail
Dave Weitzel, módosítva 11 év-val korábban

Re: [Liferay Forums][English] RE: The command Ant is either false written o

Regular Member Bejegyzések: 208 Csatlakozás dátuma: 2009.11.18. Legújabb bejegyzések
http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/initial-set-8explains
that you need Ant 1.7.0 or better on your system first

then if you are using the IDE you will not need to run commands anyway (see
IDE documentation)


On Fri, Jan 11, 2013 at 9:04 AM, Joga Krish from liferay.com <
forums@liferay.com> wrote:

> HI
>
> I am not sure whether am executing ant command .
>
>
> http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/creating-a-theme
>
> I am following the description in the above link to create a theme in
> liferay.
>
> As it mentioned in the description, I have created a new project in
> liferay and trying to run this command
>
> create.bat "deep-blue" Deep Blue
> and I get the problem [image: emoticon]
>
>
> To view the thread, follow the link below:
>
> http://www.liferay.com/web/guest/community/forums/-/message_boards/view_message/19130192
> --
> Thanks, Liferay.com Forums <http://http://www.liferay.com>
thumbnail
Joga Krish, módosítva 11 év-val korábban

RE: Re: [Liferay Forums][English] RE: The command Ant is either false writt

Junior Member Bejegyzések: 38 Csatlakozás dátuma: 2013.01.08. Legújabb bejegyzések
Hallo Dave and David,

Thank you both for quick reply and support . I am sorry for the delay.
I have successfully installed ant and now it's working emoticon


Regards,
Krishna.

Mellékletek:

thumbnail
Hitoshi Ozawa, módosítva 11 év-val korábban

RE: Re: [Liferay Forums][English] RE: The command Ant is either false writt

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
Just for you information, if you want to use maven, refer to the following blog. Unfortunately, information on using maven is still not included in Liferay's document yet.

http://www.liferay.com/web/mika.koivisto/blog/-/blogs/getting-started-with-liferay-maven-sdk
thumbnail
Joga Krish, módosítva 11 év-val korábban

RE: Re: [Liferay Forums][English] RE: The command Ant is either false writt

Junior Member Bejegyzések: 38 Csatlakozás dátuma: 2013.01.08. Legújabb bejegyzések
Thank you Hitoshi Ozawa.
I will check it out emoticon