core icon indicating copy to clipboard operation
core copied to clipboard

Error on build from tag 2.3 Re: ant-contrib

Open mabouza opened this issue 13 years ago • 6 comments

I checked out the tag 2.3 today Run ant deploy and I get this error during build

  [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found.

It doesn't stop the build from running but it doesn't include ant contrib properly either

I have it included in the build like this and it works fine

<taskdef resource="net/sf/antcontrib/antcontrib.properties">
      <classpath>
        <pathelement location="${dotcms.root.dir}/dotCMS/WEB-INF/lib/ant-contrib-0.6.jar"/>
      </classpath>
    </taskdef>

I didn't see the ant-contrib jar in dotCMS/WEB-INF/lib either.

mabouza avatar May 08 '13 22:05 mabouza

Usually u have to have the module installed from ant

On Wednesday, May 8, 2013, Maru Ahues Bouza wrote:

I checked out the tag 2.3 today Run ant deploy and I get this error during build

[taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found.

It doesn't stop the build from running but it doesn't include ant contrib properly either

I have it included in the build like this and it works fine

I didn't see the ant-contrib jar in dotCMS/WEB-INF/lib either.

— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/2820 .

Thanks, Jason S. Tesser Director, Support Services dotCMS, Inc. T: 305.858.1422 x7003 http://twitter.com/dotCMS www.dotcms.com

dotcmsCodeReview avatar May 08 '13 22:05 dotcmsCodeReview

So what do I need to run? I'm sorry I don't know how to do it without modifying it. Thanks!

On Wed, May 8, 2013 at 3:47 PM, dotCMS Code Review <[email protected]

wrote:

Usually u have to have the module installed from ant

On Wednesday, May 8, 2013, Maru Ahues Bouza wrote:

I checked out the tag 2.3 today Run ant deploy and I get this error during build

[taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found.

It doesn't stop the build from running but it doesn't include ant contrib properly either

I have it included in the build like this and it works fine

I didn't see the ant-contrib jar in dotCMS/WEB-INF/lib either.

— Reply to this email directly or view it on GitHub< https://github.com/dotCMS/dotCMS/issues/2820> .

Thanks, Jason S. Tesser Director, Support Services dotCMS, Inc. T: 305.858.1422 x7003 http://twitter.com/dotCMS www.dotcms.com

— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/2820#issuecomment-17638865 .

Community Manager

dotCMS Main: 305.900.2001 Fax: 305.397.2579 www.dotcms.com http://www.twitter.com/dotCMS http://www.facebook.com/dotCMS http://www.twitter.com/mabouza

Please consider the planet before printing this email.

mabouza avatar May 08 '13 22:05 mabouza

You need ant-contrib package available to ant path. some instructions here http://ant-contrib.sourceforge.net/ In linux distributions you only need to install ant-contrib package

2013/5/8 Maru Ahues Bouza [email protected]

So what do I need to run? I'm sorry I don't know how to do it without modifying it. Thanks!

On Wed, May 8, 2013 at 3:47 PM, dotCMS Code Review < [email protected]

wrote:

Usually u have to have the module installed from ant

On Wednesday, May 8, 2013, Maru Ahues Bouza wrote:

I checked out the tag 2.3 today Run ant deploy and I get this error during build

[taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found.

It doesn't stop the build from running but it doesn't include ant contrib properly either

I have it included in the build like this and it works fine

I didn't see the ant-contrib jar in dotCMS/WEB-INF/lib either.

— Reply to this email directly or view it on GitHub< https://github.com/dotCMS/dotCMS/issues/2820> .

Thanks, Jason S. Tesser Director, Support Services dotCMS, Inc. T: 305.858.1422 x7003 http://twitter.com/dotCMS www.dotcms.com

— Reply to this email directly or view it on GitHub< https://github.com/dotCMS/dotCMS/issues/2820#issuecomment-17638865> .

Community Manager

dotCMS Main: 305.900.2001 Fax: 305.397.2579 www.dotcms.com http://www.twitter.com/dotCMS http://www.facebook.com/dotCMS http://www.twitter.com/mabouza

Please consider the planet before printing this email.

— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/2820#issuecomment-17639035 .

Jorge Urdaneta dotcms developer

dotjorgeu avatar May 09 '13 01:05 dotjorgeu

I am having this exact same problem after I upgraded to 2.3.2 and tried to deploy plugins. It did not happen in 2.3.1.

I will install ant as you suggest and see if it works.

TheGreatAlexander avatar Jun 22 '13 03:06 TheGreatAlexander

okay, when I try to upgrade to 2.3.2 with the zip file http://dotcms.com/downloads/download-now.dot?file=/physical_downloads/release_builds/dotcms_2.3.2.zip and I try to deploy plugins I get the errors described on this issue. I installed ant-contrib and nothing worked.

If I just do the upgrade from the update file http://dotcms.com/downloads/download-now.dot?file=/physical_downloads/release_builds/dotcms_2.3.2_update.zip all plugins deploy with no problems.

TheGreatAlexander avatar Jun 23 '13 03:06 TheGreatAlexander

This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.

stale[bot] avatar Sep 30 '19 09:09 stale[bot]