ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt" <>
Subject CVS File Permissions
Date Tue, 19 Aug 2003 20:53:21 GMT
Hi Folks,

This may not be an Ant question but all the people using CVS might be
able to guide a bit.

I need some suggestions abt the best way to manage the file permissions
in CVS.

Is anybody using Ant in anyway to do so ?

CVS just uses filesystem permissions (and ownerships) to control access,
but on the directories only, and the key access rights are mapped as

	1. read+write+search		- checkout, commit
	2. read+search			- checkout
	3. none				- no access

Or is anybody aware of some existing webapp/ GUI application that could
provide an interface to the CVS server (Linux in our case) to enable the
management of File permissions ( like creating user-groups, doing chmod
and stuff).


-----Original Message-----
From: Johannes Lebek [] 
Sent: Tuesday, August 19, 2003 2:51 AM
To: Ant Users List
Subject: Re: custom ant task: referencing to external classes

Sorry, for bothering you. After using a fresh command line (clean system

classpath), it works fine...

Johannes Lebek wrote:

> Hi,
> I wrote a task, that connects to a database using JDBC. The JDBC 
> interfaces like javax.sql.DataSource are part of J2EE. Therefore, I 
> included "j2ee.jar" into the classpath of the task:
> <path id="test.classpath">
>   <pathelement location="${lib}"/>
>   <fileset dir="${lib}">             <!-- this is where
>                                           j2ee.jar is located
>                                      -->
>     <include name="**/*.jar"/>
>   </fileset>
>   <fileset dir="${task.lib}">        <!-- this is where
>                                           my task is located
>                                      -->
>     <include name="**/*.jar"/>
>   </fileset>
> </path>
> <taskdef name="mytask" classpathref="test.classpath"/>
> On executing "mytask" it shows the follwoing error message:
> java.lang.NoClassDefFoundError: javax/sql/DataSource
> I inserted a System.err.println(System.getProperty("java.class.path"))

> to my task. The output shows the system classpath only. If the task 
> would use this classpath, it could not even have found its own class, 
> because it is not on the system classpath.
> I do not want to put j2ee.jar on the system classpath. What else can I
> Johannes
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message