You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Verma, Nitin (GECP, OTHER, 529706)" <NI...@APPL.GE.COM> on 2003/06/04 18:25:34 UTC

How to exclude files in jar but not in target/classes dir

Hi All,

	This is what I need:-

	Source:-
		java/src/config/**
		java/src/my/**
	Classes:-
		targer/classes/config/**
		targer/classes/my/**
	Jar:-
		my-1.1.jar!my/**

		I load "config.resource" and need it to be outside jar.

		I would use the jar as follows:-

			WEB-INF/classes/config/**
			WEB-INF/lib/my-1.1.jar

		So having config inside my jar will mess-up my appliaction.
		And if I don't have targer/classes/config/** my tests will
fail.

Regards,

Nitin