abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elias Torres <el...@torrez.us>
Subject Re: JSON license headers
Date Tue, 21 Nov 2006 04:02:16 GMT
I mailed Douglas Crockford, here's his response re: missing license info
for: JSONException.java, JSONString.java and Test.java.

"""There's nothing interesting in either of those files.
One is just an interface, the other is a textbook
exception. There is no IP there to make a claim about.

The test file is just a test file. It is not licensed."""

Does that help?

-Elias

James M Snell wrote:
> Stephen,
> 
> As far as I can tell from my limited maven knowledge, this looks fine.
> I'll make corresponding changes to the Ant build tomorrow and make it so
> that we're not actually shipping the json code with the source image.
> 
> - James
> 
> Stephen Duncan wrote:
>> Ok.  I've attached a potential patch for the json-dependency pom that
>> would download that zip and use it as a source.  The ant task portion
>> could be changed to call the ant task and point to a separate
>> build.xml as an alternative.
>>
>> -Stephen
>>
>> On 11/20/06, Stephen Duncan <stephen.duncan@gmail.com> wrote:
>>> Maybe...  I'll try to get Maven to call some Ant script to download
>>> and extract the sources prior to compiling.  I'll let everyone know
>>> how the experiment goes...
>>>
>>> -Stephen
>>>
>>> On 11/20/06, James M Snell <jasnell@gmail.com> wrote:
>>>> Hmm... is there a "not quite 'right' but will still work" solution we
>>>> can shoot for in the near term?
>>>>
>>>> - James
>>>>
>>>> Stephen Duncan wrote:
>>>>> The "right" solution, I think, is to get a binary release under the
>>>>> Apache license published to the central Maven repository, and then it
>>>>> could be downloaded for use by Ant or by Maven.
>>>>>
>>>>> -Stephen
>>>>>
>>>>> On 11/18/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
>>>>>> On 11/18/06, James M Snell <jasnell@gmail.com> wrote:
>>>>>>> You know, I'm actually wondering if it makes sense for us to
>>> have the
>>>>>>> json code in our svn.  The source we are using can be
>>> downloaded from
>>>>>>> http://json.org/java/apache.zip.  Like the other dependencies,
we
>>>>>> can go
>>>>>>> out and grab that as needed during the build.  We can also make
it
>>>>>>> optional to build.  I also don't think we should be shipping
>>> the source
>>>>>>> code for it in our source zip.  This will make it just another
>>>>>>> dependency rather than such a special case.  It should also
>>> make it
>>>>>>> possible for us to proceed without having to worry about
>>> if/when we can
>>>>>>> get the license headers added to these three files.
>>>>>>>
>>>>>>> thoughts?
>>>>>> Well, for the ant build we can certainly download it and build it
on
>>>>>> the fly, but for maven builds it'll go out and download
>>> whatever's in
>>>>>> the maven repositories, which wouldn't be under the proper
>>> license...
>>>>>> Not sure what the "right" solution is to that.
>>>>>>
>>>>>> -garrett
>>>>>>
>>>>>
>>>
>>> -- 
>>> Stephen Duncan Jr
>>> www.stephenduncanjr.com
>>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> Index: dependencies/json/pom.xml
>> ===================================================================
>> --- dependencies/json/pom.xml	(revision 475049)
>> +++ dependencies/json/pom.xml	(working copy)
>> @@ -34,4 +34,29 @@
>>      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/abdera/java/trunk/dependencies/json/</developerConnection>
>>      <url>http://svn.apache.org/repos/asf/incubator/abdera/java/trunk/dependencies/json/</url>
>>    </scm>
>> +  <build>
>> +    <plugins>
>> +      <plugin>
>> +        <groupId>org.apache.maven.plugins</groupId>
>> +        <artifactId>maven-antrun-plugin</artifactId>
>> +        <executions>
>> +          <execution>
>> +            <phase>generate-sources</phase>
>> +            <configuration>
>> +              <tasks>
>> +                <mkdir dir="${basedir}/target" />
>> +                <get src="http://json.org/java/apache.zip" dest="${basedir}/target/apache.zip"
usetimestamp="true"/>
>> +                <unzip src="${basedir}/target/apache.zip" dest="${basedir}/target/generated-sources/main/java"
/>
>> +                <move file="${basedir}/target/generated-sources/main/java/apache"
tofile="${basedir}/target/generated-sources/main/java/json" />
>> +              </tasks>
>> +              <sourceRoot>${project.build.directory}/generated-sources/main/java</sourceRoot>
>> +            </configuration>
>> +            <goals>
>> +              <goal>run</goal>
>> +            </goals>
>> +          </execution>
>> +        </executions>
>> +      </plugin>
>> +    </plugins>
>> +  </build>
>>  </project>
> 

Mime
View raw message