taskSavannah Administration - Tasks: task #5126, Submission of Share Your Documents

 
 

task #5126: Submission of Share Your Documents

Submitter:  Teodoro <teodoro>
Submitted:  Sun 08 Jan 2006 10:04:38 AM UTC
   
 
Should Start On:  Sun 08 Jan 2006 12:00:00 AM UTC Should be Finished on:  Wed 18 Jan 2006 12:00:00 AM UTC
Category:  Project Approval Priority:  * 5 - Normal
Status:  Cancelled Privacy:  Public
Assigned to:  Beuc Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 18 Jan 2006 07:41:12 PM UTC, comment #2: 

Hi,

We did not get a response from you, so we deleted your project from the pending queue.

If you would still like to have your project hosted at Savannah, please register it again.

The re-registration URL found in our acknowledgment of your earlier registration will direct you to the proper location where you can re-register your project.

Regards.

Sylvain Beucler <Beuc>
Sun 08 Jan 2006 01:38:38 PM UTC, comment #1: 

Hi,

I'm evaluating the project you submitted for approval in Savannah.

You must determine whether your project can run on a Free Software Java suite (see http://www.gnu.org/software/java/ for more information).

We recommend you to test your project using GCJ and GNU Classpath, and ensure that your Java code runs on this Free Software Java suite.

GCJ is the GNU Compiler for Java, part of the GCC (GNU Compiler Collection).  The Classpath project aims to develop a free and portable implementation of the Java API (the classes in the 'java' package).

More information is available at http://gcc.gnu.org/ and http://www.gnu.org/software/classpath/ .

Please provide us with more information about this point.


Please also include a (perhaps temporary) URL pointing to the source code.  The description you gave when registering will not be read by the general public.  If you are still concerned with privacy, however, you can forward the code to me by email.

We wish to review your source code, even if it is not functional, to catch potential legal issues early.

For example, to release your program properly under the GNU GPL you must include a copyright notice and permission-to-copy statements at the beginning of every  copyrightable file, usually any file more than 10 lines long.  This is explained in http://www.gnu.org/licenses/gpl-howto.html.  Our review would help catch potential omissions such as these.


Last, please use the complete name of the license, the GNU GPL. 'GNU' only refers to the GNU project, that uses several licenses (GNU GPL, GNU LGPL, GFDL).


If you are willing to make the changes mentioned above, please provide us with an URL to an updated tarball of your project.  Upon review, we will reconsider your project for inclusion in Savannah.

To help us better keep track of your registration, please use the tracker's web interface following the link below. Do not reply directly, the registration process is not driven by e-mail, and we will not receive such replies.

Regards.

Sylvain Beucler <Beuc>
Sun 08 Jan 2006 10:04:38 AM UTC, original submission:  

A new project has been registered at Savannah
The project account will remain inactive until a site admin approve or discard the registration.


######### REGISTRATION ADMINISTRATION #########

While this item will be useful to track the registration process, approving or discarding the registration must be done using the specific "Group Administration" page, accessible only to site administrators, effectively logged as site administrators (superuser):

  <https://savannah.nongnu.org/admin/groupedit.php?group_id=8252>


######### REGISTRATION DETAILS #########

Full Name:
----------
  Share Your Documents

System Group Name:
-----------------
  syd

Type:
-----
  non-GNU software & documentation

License:
--------
  GNU General Public License V2 or later

Description:
------------
  SyD (Share your Documents) is a software of configuration management. It improves locking and the merging of the files. It makes this allowing the developer to lock parts of single file.
The state of the project is planning, so the code is present, but it is only the skeleton.  A prototype that will be created supports the management of parts of files java. The software is extensible for the management of other languages of programming or documents. It supports text files, but it will support also binary files. The licence is gnu. The software is written in language java. It uses a database XML for the management of the repository, XQuery is used in order to query the database, XUpdate is used in order to modify the db.


This is class Xmldb.java


/*

  • Created on 16-dic-2005
  • Copyright (C) 2005 Paolo D'Apice, Teodoro De Giorgio
  • This program is free software; you can redistribute it and/or modify
  • it under the terms of the GNU General Public License as published by
  • the Free Software Foundation; either version 2 of the License, or
  • (at your option) any later version.

 */
package db.xml;

import org.xmldb.api.DatabaseManager;
import org.xmldb.api.base.Collection;
import org.xmldb.api.base.Database;

import db.DataStore;
import db.DbException;
import db.Query;

import tools.Status;
import tools.utils.*;

/**

  • The concrete class that represent a NXD.
  • @author Paolo D'Apice, Teodoro De Giorgio

 */
public class Xmldb extends DataStore {

private Database usersdb;

private Collection col;

/** Default constructor. */
public Xmldb() {
this("org.exist.xmldb.DatabaseImpl", "xmldb:exist:///db/syd");
}

/** Constructor.
@see db.DataStore /
public Xmldb(String driver, String uri) {
super(driver, uri);
}

@Override
public Status connect() throws DbException {
try {
load the driver
System.out.println("Connecting the database:");
Class cl = Class.forName(driver);

create instance
usersdb = (Database) cl.newInstance();
usersdb.setProperty("create-database", "true");

use db
DatabaseManager.registerDatabase(usersdb);

// get the collection
col = DatabaseManager.getCollection(uri, "admin", "");
System.out.println(" * Database \t\t\t\tOK ");

return Status.getInstance(Status.DB_OK);
} catch (Exception e) {
throw new DbException("connessione al xml db");
System.out.println(" * Database \t\t\t\tFAIL");
System.out.println("Error: " + e.getMessage());
e.printStackTrace();
return Status.getInstance(Status.DB_ERROR);
}
}

@Override
public Status disconnect() {
return Status.getInstance(Status.DB_OK);
}

@Override
public XmlResult executeQuery(Query query)
throws DbException {
return XQuery.convertResourceSet(
XQuery.runXPathQuery(col,(XmlQuery)query));
}

@Override
public XmlResult executeUpdate(Query query) throws DbException {
return XQuery.convertResourceSet(
XQuery.runXUpdateQuery(col,(XmlQuery)query));
}
}

Other Software Required:
------------------------
  SyD uses
http://exist.sourceforge.net/


Teodoro <teodoro>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-01-18 Beuc StatusWait reply Cancelled
    Open/ClosedOpen Closed
2006-01-08 Beuc StatusNone Wait reply
    Assigned toNone Beuc

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code