I'm thinking of a few enhancements to activitycreator
* generate tests folder and run instrumentation
* add maven support to existing ant support
I can see the source code for activitycreator in development/tools.
However, not able to find out how to generate the sdk from the source,
so the activitycreator commits can be tested effectively as an end
user.
> I'm thinking of a few enhancements to activitycreator
> * generate tests folder and run instrumentation
> * add maven support to existing ant support
> I can see the source code for activitycreator in development/tools.
> However, not able to find out how to generate the sdk from the source,
> so the activitycreator commits can be tested effectively as an end
> user.
> On 11月7日, 午後1:05, Muthu Ramadoss <muthu.ramad...@gmail.com> wrote: > > I'm thinking of a few enhancements to activitycreator
> > * generate tests folder and run instrumentation
> > * add maven support to existing ant support
> > I can see the source code for activitycreator in development/tools. > > However, not able to find out how to generate the sdk from the source, > > so the activitycreator commits can be tested effectively as an end > > user.
> > On 11月7日, 午後1:05, Muthu Ramadoss <muthu.ramad...@gmail.com> wrote:
> > > I'm thinking of a few enhancements to activitycreator
> > > * generate tests folder and run instrumentation
> > > * add maven support to existing ant support
> > > I can see the source code for activitycreator in development/tools.
> > > However, not able to find out how to generate the sdk from the source,
> > > so the activitycreator commits can be tested effectively as an end
> > > user.
> > > On 11月7日, 午後1:05, Muthu Ramadoss <muthu.ramad...@gmail.com> wrote:
> > > > I'm thinking of a few enhancements to activitycreator
> > > > * generate tests folder and run instrumentation
> > > > * add maven support to existing ant support
> > > > I can see the source code for activitycreator in development/tools.
> > > > However, not able to find out how to generate the sdk from the source,
> > > > so the activitycreator commits can be tested effectively as an end
> > > > user.
> > > > On 11月7日, 午後1:05, Muthu Ramadoss <muthu.ramad...@gmail.com> wrote: > > > > > I'm thinking of a few enhancements to activitycreator
> > > > > * generate tests folder and run instrumentation
> > > > > * add maven support to existing ant support
> > > > > I can see the source code for activitycreator in development/tools. > > > > > However, not able to find out how to generate the sdk from the > source, > > > > > so the activitycreator commits can be tested effectively as an end > > > > > user.
> > > > On 11月7日, 午後1:05, Muthu Ramadoss <muthu.ramad...@gmail.com> wrote:
> > > > > I'm thinking of a few enhancements to activitycreator
> > > > > * generate tests folder and run instrumentation
> > > > > * add maven support to existing ant support
> > > > > I can see the source code for activitycreator in development/tools.
> > > > > However, not able to find out how to generate the sdk from the source,
> > > > > so the activitycreator commits can be tested effectively as an end
> > > > > user.
I removed JDK1.6,
and install JDK1.5
set $JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
and than "make sdk" again
but the following messages show,
What's the problem?
----------------------------
WARNING: Ignored option -J-Xmx768m. Pass this option to the VM if
required.
WARNING: Ignored option -J-Djava.library.path=out/host/linux-x86/lib.
Pass this option to the VM if required.
WARNING: Cannot locate class java.lang.Object referenced in class
junit.runner.StandardTestSuiteLoader
WARNING: Error while loading class NumberFormat
WARNING: Error while loading class Component
WARNING: Cannot locate class ClassLoader referenced in class
junit.runner.TestCaseClassLoader
WARNING: Error while loading class URL
WARNING: Cannot locate class Object referenced in class
junit.framework.TestFailure
WARNING: Error while loading class PrintWriter
WARNING: Error while loading class StringWriter
WARNING: Error while loading class Vector
WARNING: Error while loading class Enumeration
WARNING: Cannot locate class Error referenced in class
junit.framework.AssertionFailedError
WARNING: Error while loading class Constructor
WARNING: Error while loading class PrintStream
WARNING: Error while loading class Arrays
WARNING: Error while loading class NoSuchElementException
WARNING: Error while loading class IOException
WARNING: Error while loading class OutputStream
WARNING: Error while loading class OutputStreamWriter
I think it's still finding a different javac. What does the first line of javac -version say? I think you need to make sure that the javac, java and javadoc are the ones in your path, in addition to setting JAVA_HOME.
On Thu, Dec 18, 2008 at 4:58 AM, RonanWu <rona...@gmail.com> wrote:
> Dear All,
> I removed JDK1.6, > and install JDK1.5 > set $JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
> and than "make sdk" again
> but the following messages show, > What's the problem? > ---------------------------- > WARNING: Ignored option -J-Xmx768m. Pass this option to the VM if > required. > WARNING: Ignored option -J-Djava.library.path=out/host/linux-x86/lib. > Pass this option to the VM if required. > WARNING: Cannot locate class java.lang.Object referenced in class > junit.runner.StandardTestSuiteLoader > WARNING: Error while loading class NumberFormat > WARNING: Error while loading class Component > WARNING: Cannot locate class ClassLoader referenced in class > junit.runner.TestCaseClassLoader > WARNING: Error while loading class URL > WARNING: Cannot locate class Object referenced in class > junit.framework.TestFailure > WARNING: Error while loading class PrintWriter > WARNING: Error while loading class StringWriter > WARNING: Error while loading class Vector > WARNING: Error while loading class Enumeration > WARNING: Cannot locate class Error referenced in class > junit.framework.AssertionFailedError > WARNING: Error while loading class Constructor > WARNING: Error while loading class PrintStream > WARNING: Error while loading class Arrays > WARNING: Error while loading class NoSuchElementException > WARNING: Error while loading class IOException > WARNING: Error while loading class OutputStream > WARNING: Error while loading class OutputStreamWriter
I relink the javadoc and javadoc.1.gz to the right one under
java-1.5.0-sun-1.5.0.16
and everything goes well.
------
$ cd /etc/alternatives
$ sudo ln -s /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/bin/javadoc javadoc
$ sudo ln -s /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/man/man1/javadoc.
1.gz javadoc.1.gz
-----
On 12月18日, 下午11時31分, "Joe Onorato" <j...@android.com> wrote:
> I think it's still finding a different javac. What does the first line of
> javac -version say? I think you need to make sure that the javac, java and
> javadoc are the ones in your path, in addition to setting JAVA_HOME.
> -joe
> On Thu, Dec 18, 2008 at 4:58 AM, RonanWu <rona...@gmail.com> wrote:
> > Dear All,
> > I removed JDK1.6,
> > and install JDK1.5
> > set $JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
> > and than "make sdk" again
> > but the following messages show,
> > What's the problem?
> > ----------------------------
> > WARNING: Ignored option -J-Xmx768m. Pass this option to the VM if
> > required.
> > WARNING: Ignored option -J-Djava.library.path=out/host/linux-x86/lib.
> > Pass this option to the VM if required.
> > WARNING: Cannot locate class java.lang.Object referenced in class
> > junit.runner.StandardTestSuiteLoader
> > WARNING: Error while loading class NumberFormat
> > WARNING: Error while loading class Component
> > WARNING: Cannot locate class ClassLoader referenced in class
> > junit.runner.TestCaseClassLoader
> > WARNING: Error while loading class URL
> > WARNING: Cannot locate class Object referenced in class
> > junit.framework.TestFailure
> > WARNING: Error while loading class PrintWriter
> > WARNING: Error while loading class StringWriter
> > WARNING: Error while loading class Vector
> > WARNING: Error while loading class Enumeration
> > WARNING: Cannot locate class Error referenced in class
> > junit.framework.AssertionFailedError
> > WARNING: Error while loading class Constructor
> > WARNING: Error while loading class PrintStream
> > WARNING: Error while loading class Arrays
> > WARNING: Error while loading class NoSuchElementException
> > WARNING: Error while loading class IOException
> > WARNING: Error while loading class OutputStream
> > WARNING: Error while loading class OutputStreamWriter
> I relink the javadoc and javadoc.1.gz to the right one under
> java-1.5.0-sun-1.5.0.16
> and everything goes well.
> ------
> $ cd /etc/alternatives
> $ sudo ln -s /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/bin/javadoc javadoc
> $ sudo ln -s /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/man/man1/javadoc.
> 1.gz javadoc.1.gz
> -----
> On 12月18日, 下午11時31分, "Joe Onorato" <j...@android.com> wrote:
> > Hi,
> > I think it's still finding a different javac. What does the first line of
> > javac -version say? I think you need to make sure that the javac, java and
> > javadoc are the ones in your path, in addition to setting JAVA_HOME.
> > -joe
> > On Thu, Dec 18, 2008 at 4:58 AM, RonanWu <rona...@gmail.com> wrote:
> > > Dear All,
> > > I removed JDK1.6,
> > > and install JDK1.5
> > > set $JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
> > > and than "makesdk" again
> > > but the following messages show,
> > > What's the problem?
> > > ----------------------------
> > > WARNING: Ignored option -J-Xmx768m. Pass this option to the VM if
> > > required.
> > > WARNING: Ignored option -J-Djava.library.path=out/host/linux-x86/lib.
> > > Pass this option to the VM if required.
> > > WARNING: Cannot locate class java.lang.Object referenced in class
> > > junit.runner.StandardTestSuiteLoader
> > > WARNING: Error while loading class NumberFormat
> > > WARNING: Error while loading class Component
> > > WARNING: Cannot locate class ClassLoader referenced in class
> > > junit.runner.TestCaseClassLoader
> > > WARNING: Error while loading class URL
> > > WARNING: Cannot locate class Object referenced in class
> > > junit.framework.TestFailure
> > > WARNING: Error while loading class PrintWriter
> > > WARNING: Error while loading class StringWriter
> > > WARNING: Error while loading class Vector
> > > WARNING: Error while loading class Enumeration
> > > WARNING: Cannot locate class Error referenced in class
> > > junit.framework.AssertionFailedError
> > > WARNING: Error while loading class Constructor
> > > WARNING: Error while loading class PrintStream
> > > WARNING: Error while loading class Arrays
> > > WARNING: Error while loading class NoSuchElementException
> > > WARNING: Error while loading class IOException
> > > WARNING: Error while loading class OutputStream
> > > WARNING: Error while loading class OutputStreamWriter