wood burning stoves*
The moose likes Ant, Maven and Other Build Tools and the fly likes ant deploy can't find jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ant deploy can Watch "ant deploy can New topic
Author

ant deploy can't find jar

Guy deLyonesse
Ranch Hand

Joined: Apr 12, 2011
Posts: 200

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

Joined: Apr 12, 2011
Posts: 200

The Answer
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ant deploy can't find jar
 
Similar Threads
How to become expert at liferay
Failed to compile jsp files
getting started with Liferay ext environment
any help how to send emails using ant
Beginner to Liferay 5.2.3