This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ant deploy can't find jar

 
Guy deLyonesse
Ranch Hand
Posts: 200
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Getting this error when running ant deploy

[javac] C:\Servers\liferay-plugins-sdk-6.0.6-20110225\ext\cvrg-portal-ext\docroot\WEB-INF\ext-impl\src\com\liferay\portlet\login\util\LoginUtil.java:17: package com.jhu.cvrg.utilities.authentication does not exist

The .classpath file contains the following entry:



And the file is indeed in the following location:

C:\Users\myuserid\cvrg_jars\cvrg_authenticator.jar

This is a custom .jar I created.

The command produces the same result in Eclipse or at the command line.

Am I missing something?


 
Guy deLyonesse
Ranch Hand
Posts: 200
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Answer
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like you need to fix you javac task to properly reference that JAR. (Referencing it in Eclipse is not enough))

If that doesn't help, please post the <javac> task.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic