New Portlet Project fails ant deploy (Host not found?)
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


New Portlet Project fails ant deploy (Host... Expand / Collapse
Author
Message
Posted 5/4/2009 10:01:12 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 5/13/2009 5:17:53 PM
Posts: 13, Visits: 5
Hi all,

I just set up the Viewpoint PDK 13.0.0.1 on a Linux box. Went through all the steps and got things working (mostly), much to my chagrin...

However I ran into issues when trying to follow the 'Generating the Hello Project' sample. Namely, I encountered issues with the ant deploy.

It seems the build.xml makes references to a web location that no longer exists.

Did anyone else encounter this? And, if so... how did you resolve it?

Thanks,

-Peter

sandman Hello # ant deploy
Buildfile: build.xml
[get] Getting: http://continuum.td.teradata.com/svn/NextGen/BuildConfig/trunk/bootstrap.build.xml
[get] To: /Hello/.bootstrap.build.xml
[get] Error getting http://continuum.td.teradata.com/svn/NextGen/BuildConfig/trunk/bootstrap.build.xml to /Hello/.bootstrap.build.xml
init:
[mkdir] Created dir: /Hello/.buildconfig
[get] Getting: http://continuum.td.teradata.com/ivyrep-sandbox/teradata/build-config/3.0-SNAPSHOT/build-config.zip
[get] To: /Hello/.buildconfig/build-config.zip
[get] Error getting http://continuum.td.teradata.com/ivyrep-sandbox/teradata/build-config/3.0-SNAPSHOT/build-config.zip to /Hello/.buildconfig/build-config.zip
BUILD FAILED
/Hello/build.xml:12: The following error occurred while executing this line:
/Hello/.bootstrap.build.xml:21: java.net.UnknownHostException: continuum.td.teradata.com
Total time: 0 seconds



Peter T. Bense - pbense@ebay.com
Sr. Performance Engineer, eBay
Teradata Certified Master V2R5
Post #15269
Posted 5/4/2009 11:12:13 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 9/11/2009 12:47:55 PM
Posts: 15, Visits: 56
Hi Peter...

We're looking into it, stay tuned.
Post #15270
Posted 5/7/2009 3:38:21 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 9/11/2009 12:47:55 PM
Posts: 15, Visits: 56
There's a bug in the PDK that prevents redeployment of the sample portlets shipped with the PDK. The workaround for this is as follows:

Generate a new portlet using the PortletGenerator. Then copy the following files/directories from the newly generated portlet into the portlet you wish to redeploy:


.buildconfig/
lib/
web/WEB-INF/lib/
local.build.properties

You should then be able to redeploy the portlet.
Post #15310
Posted 6/1/2009 5:07:38 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/19/2009 8:31:20 PM
Posts: 2, Visits: 30
I am having a problem with ant deploy on a new project as well. I am getting this error:


BUILD FAILED
Target `tdbuild-static-analysis.checkstyle-javadoc-reports' does not exist in th
is project. It is used from target `checkstyle-javadoc'.

Total time: 2 seconds

Any suggestions?

Thanks,

Robin
Post #15610
Posted 6/3/2009 11:04:14 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 9/11/2009 12:47:55 PM
Posts: 15, Visits: 56
To get around the "[get] Getting: http://continuum.td.teradata.com/svn/NextGen/BuildConfig/trunk/bootstrap.build.xml", edit the file ".bootstrap.build.xml" in your project folder (note that because the filename begins with a period ".", it is invisible by default on most OS's). Then, on lines 14 and 21, add ignoreerrors="true" to the task, e.g.





Post #15645
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 1 ( 1 guest, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 8:16pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.094. 8 queries. Compression Disabled.