Apologies for not responding right away, had to deal with another fire:-)
Per-Henrik's request:
C:\Documents and Settings\Administrator>javac -version
javac 1.6.0-internal
I just resolved the problem by adding a maven-compiler-plugin to the
project's pom.xml and that resolved the issue. Thank
$JDK_HOME/bin/javac.exe
$JRE_HOME/bin/java.exe
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitt
On Tue, Sep 7, 2010 at 4:22 PM, per-henrik hedman wrote:
> And you can do javac -version?
C:\>javac -version
javac 1.6.0_07
As I said... the JDK is 1.6.0_07 and the JRE is 1.6.0_21. ;-)
Wayne
-
To unsubscribe, e-mail: users-un
And you can do javac -version?
Per-Henrik
On Tue, Sep 7, 2010 at 11:17 PM, Wayne Fay wrote:
>>> I believe that the Java home path given by "mvn -version" on a Windows
>>> platform points at the jre, not the jdk. Possibly someone on Windows could
>>
>> This is normal (also on Linux). I am also cu
>> I believe that the Java home path given by "mvn -version" on a Windows
>> platform points at the jre, not the jdk. Possibly someone on Windows could
>
> This is normal (also on Linux). I am also curious on "java -version" though
This is from a Windows box...
C:\>java -version
java version "1.6.
Anders Hammar wrote:
> I believe that the Java home path given by "mvn -version" on a Windows
> platform points at the jre, not the jdk. Possibly someone on Windows could
> confirm this?
This is normal (also on Linux). I am also curious on "java -version" though
...
- Jörg
--
I believe that the Java home path given by "mvn -version" on a Windows
platform points at the jre, not the jdk. Possibly someone on Windows could
confirm this?
/Anders
On Tue, Sep 7, 2010 at 21:33, per-henrik hedman wrote:
> Enrique, I'm currious about the Java_home
>
> Java home: C:\IBM\ibm-ja
Enrique, I'm currious about the Java_home
Java home: C:\IBM\ibm-java-sdk-60-win-i386\sdk\jre
Does the jre have the javac -command? isn't that with the jdk-suite?
Can you do "javac -version" from command line?
cheers,
Per-Henrik
On Tue, Sep 7, 2010 at 7:35 PM, Enrique Gaona wrote:
> Per-Henrik
Enrique,
JAVA_HOME is sufficient if a javac bin is in the home...
per-henrik asked the result of the javac -version command line, could
you give us the result please ?
S.
Vince,
I don't have maven-compiler-plugin and settings.xml configured, but
why should I? The JAVA_HOME should *supposedl
Ken,
The default packaging type is "jar" [1]. If the the "packaging" entry
is missing from the output of "help:effective-pom", then you can safely
assume that the packaging is "jar".
[1]
http://maven.apache.org/ref/2.2.1/maven-model/maven.html#class_project
Ron Gallagher
-Original Message-
I'm guessing your inherit a parent pom that has a compiler plugin
configuration. Isn't it?
2010/9/7 Enrique Gaona
> Vince,
> I don't have maven-compiler-plugin and settings.xml configured, but why
> should I? The JAVA_HOME should *supposedly* be sufficient. I do agree with
> you, that by adding
Hi,
I already resolved it, but basically we had a procedure that needed to
generate C++ sources from input files (like in Corba) and I needed to
activate it vefore the compilation stage.
Eyal
--
View this message in context:
http://maven.40175.n5.nabble.com/How-to-generate-C-code-and-compile-
Vince,
I don't have maven-compiler-plugin and settings.xml configured, but why
should I? The JAVA_HOME should *supposedly* be sufficient.I do agree
with you, that by adding the maven-compiler-plugin to the parent pom.xml
will fix my angst, but I shouldn't have to do that.From the debug
o
Per-Henrik
The output from mvn -version, is showing Java Home pointing to C:\IBM
\ibm-java-sdk-60-win-i386\sdk\jre and the Java Home from echo is pointing
to C:\IBM\ibm-java-sdk-60-win-i386\sdk
C:\RTC-data\workspace\>mvn -v
Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
Java version: 1.6
Hi,
- first, you need to put your assembly under
src/main/resources/*assemblies* (as
indicated in the link you provided)
- then, you should be able to reference either the xml using the descriptor
tag like you did
2010/9/7
> Hi all,
>
> I'm trying to use a shared assembly descriptor as describe
What's your effective pom? (especially maven-compiler-plugin configuration?)
I'm guessing something like a property that is supposed to be set through a
profile in settings.xml depending on your environment is not defined.
2010/9/7 per-henrik hedman
> what's the output from "mvn -version"? Could
you will have considerable work cutout for you considering both Microsoft and
Borland spent man years perfecting their IDE C++ code generators
The NAR plugin allows one to preprocess, compile and link with the OS specific
lint, preprocessor, compiler and link utilities
these older IDES create
what's the output from "mvn -version"? Could help determine what the
actual value of JAVA_HOME according to mvn.
What resides in the C:\IBM\ibm-java-sdk-60-win-i386\sdk\bin ?
can you run javac -version?
Per-Henrik
On Tue, Sep 7, 2010 at 6:43 PM, Trevor Harmon wrote:
> On Sep 7, 2010, at 9:34
I spent some refactoring the many impl classes for what seems to be way too
many Abstract Classes and interfaces in cargo-plugin
I'm wondering if a re-architec to placing as much functionality into
base-classes or possibly Template which could be concretised using
configuration parameters to a
On Sep 7, 2010, at 9:34 AM, Enrique Gaona wrote:
> Can't say if it works with Oracle's JDK, since I've not tried it before.
>
Trying with Oracle's would help determine where the problem lies.
> One workaround would be specify the maven-compiler-plugin in the parent
> pom.xml, but I really don't w
Trevor,
Can't say if it works with Oracle's JDK, since I've not tried it before.
One workaround would be specify the maven-compiler-plugin in the parent
pom.xml, but I really don't want to do that.
Enrique
Tr
On Sep 7, 2010, at 9:25 AM, Enrique Gaona wrote:
> Output from the variables:
> C:\RTC-data\workspace>echo %JAVA_HOME%
> C:\IBM\ibm-java-sdk-60-win-i386\sdk
Does it work on Oracle's JDK instead of IBM's?
Trevor
-
To unsubscrib
Today, Maven central was updated with incomplete uploads of several eclipse
artifacts:
see http://repo2.maven.org/maven2/org/eclipse/core
and within that directory are the following subdirectories:
org.eclipse.core.contenttype/ 07-Sep-2010 06:27
org.eclipse.core.expressions
Hi,
I'm trying to build a project on Windows (believe me, this is not my first
choice) and its failing because Maven can't find javac. The error message
being returned "Failure executing javac, but could not parse the error:
The system cannot find the path specified." Looking at the debug
Hi,
We have a POM.XML file which has a element in it.
When I run "mvn help:effective-pom > effective-pom.txt" and then open
the resulting file, the element is missing.
I'm fairly new to this so I might be overlooking something. Is this the
expected behavior?
In searching I found
Hi,
I don't understand your question.
You want to generate c++ code with perl script and compile it with maven ?
Regards,
Vincent
-Message d'origine-
De : Eyal Goren [mailto:eyalg1...@gmail.com]
Envoyé : jeudi 19 août 2010 16:00
À : users@maven.apache.org
Objet : How to generate C++ c
Too me it sounds as the design of these projects isn't correct. As you've
noticed when building, there's a circular dependency.
You need to re-design IMO.
/Anders
On Tue, Sep 7, 2010 at 09:55, Goli wrote:
>
> Hi
> I have two maven projects. There are different modules in these projects
> such a
The easiest way to deal with shared libraries is to make them their
own projects and have A and B both depend on them.
This will likely also make your projects more stable.
Sometimes (Web Services for example) projects do depend on artifacts
from other main modules but if two modules depend o
Ok, ty a lot Olivier, exactly what i need:
see : http://jira.codehaus.org/browse/MRESOURCES-104
to find the solution :
add useDefaultDelimiters and delimiter in the configuration element of you
resources plugin
.
false
${*}
--
View
Hi,
Yes it's currently an issue with the @ (only one @ and no "end" for this)
You can remove using defaultDelimiters.
Have a look here : http://jira.codehaus.org/browse/MRESOURCES-104
2010/9/7 ebretonn :
>
> We use maven variable substitution with a property file:
>
> Before Substitution
> -
We use maven variable substitution with a property file:
Before Substitution
-
java.naming.provider.url = t3://${jms.url.provider}
jms.outputQueue.name = jms-x...@xxoutputqueue
java.naming.provider.url = t3://${jms.url.provider}
-
After Substitution
-
java.na
Hi Goli,
You may first install modified modules then install the whole project.
For your case, you may install the ProjectB api module under its
directory, mvn install. Then, install the service module of ProjectA
under its directory.
After those, under the parent directory, mvn install for the
Hi
I have two maven projects. There are different modules in these projects
such as api, service and da.
I refer to these two projects as ProjectA and ProjectB to describe the
issue. ProjectA has an api module which is dependent to the ProjectB api
module.
Also ProjectB service module is depende
Hi all,
I'm trying to use a shared assembly descriptor as described in
http://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html
Unfortunately it fails with
Error:
java.net.MalformedURLException: no protocol: assembly-desc.xml
My setup is:
1) A project calles "A
34 matches
Mail list logo