Hi Damon,

On Oct 28, 2009, at 9:23 PM, Damon Jacobsen wrote:

Mark,

The Borland compiler can be downloaded @ http://www.codegear.com/downloads/free/cppbuilder . I use the borland compiler because I have used it for years and know it well.

Great, no problem. I am downloading it now.

I am also attaching my aol.properties file that accomodates the Borland compiler. I am sure there is some sort of "patch" functionality in git, but this is easier for me for now.

I did not find the attachment. I will update the file if you provide me with the attachment.

I had to add Fortran instructions to the file along with the c an cpp instructions. I don't see any way to say that bcc can't compile fortran in the file.

yes, this has been filed as a bug.

Regards
Mark



Damon

-----Original Message-----
From: Donszelmann Mark [mailto:[email protected]]
Sent: Wednesday, October 28, 2009 11:20 AM
To: Maven Users List
Subject: Re: NAR plugin

Hi Damon,

I am not an expert (yet) on git either. Merging can be strange
sometimes. If you just want the latest
of one file, you can just delete it and pull again. It will replace
that one.

I am still wondering why you use such an old compiler, but I guess ou
may have some code that
only compiles with that one...

I am sure the quote problem was fixed for running "javah" but I am
almost sure it was not fixed for
running "cl" or "bcc32". I am not sure I have that compiler. If you
have it for me to try it out that would be
useful. I have put it on my list to look at.

https://issues.sonatype.org/browse/NAR-94

hope to look at it soon.

Regards
Mark


On Oct 28, 2009, at 6:45 PM, Damon Jacobsen wrote:

Mark,

        I finished doing a merge and somehow got a merge conflict in the
pom.xml. I failed miserable to merge it and could not figure out how
to do a "replace from head". I fixed it by deleting my local
repository, recloning, and remodifying my aol.properties file. I
then reinstalled the plugin. I am getting the same results.

Damon

-----Original Message-----
From: Mark Struberg [mailto:[email protected]]
Sent: Wednesday, October 28, 2009 10:07 AM
To: Maven Users List
Subject: AW: NAR plugin

fetching alone is not enough.
You have to do a

git pull

instead. This is a combined git fetch + git merge.

LieGrue,
strub



----- Ursprüngliche Mail ----
Von: Damon Jacobsen <[email protected]>
An: Maven Users List <[email protected]>
Gesendet: Mittwoch, den 28. Oktober 2009, 17:16:31 Uhr
Betreff: RE: NAR plugin

Mark,

  I am by no means proficient with git yet, but here is what I
did. Yesterday,
using msysgit, I 'cloned' http://github.com/duns/maven-nar-
plugin.git and
http://github.com/duns/cpptasks-parallel.git. Today I 'fetched'
from origin. I
think this syncs me with any changes made on the head. I have 'mvn
install'ed
both of them this morning.

Damon

-----Original Message-----
From: Donszelmann Mark [mailto:[email protected]]
Sent: Wednesday, October 28, 2009 8:49 AM
To: Maven Users List
Subject: Re: NAR plugin

Hi Damon,

are you sure you are running the latest NAR from github ?

Regards
Mark

On Oct 28, 2009, at 4:23 PM, Damon Jacobsen wrote:

Mark,

  Thanks for the info. The results confirm that the include files
are
not being added. I think it is due to some odd behavior with spaces
in files path. Boy I wish windows could get that correct. Here is my
output.

[DEBUG] bcc32  -c -X -x -tWM -Od -DWindows -DWIN32 '-I"H:\workspace
\ImagenomicPortraturePluginDLL\target\nar\javah-include"' '-I"C:
\Program Files\Java\jdk1.6.0_16\include"' '-I"C:\Program Files\Java
\jdk1.6.0_16\include\win32"' -IH:\workspace
\ImagenomicPortraturePluginDLL\src\main\include -IH:\workspace
\ImagenomicPortraturePluginDLL\target\swig\include -w H:\workspace
\ImagenomicPortraturePluginDLL\src\main\c++
\com_lifetouch_ImagenomicPortraitureBufferedImageOp.cpp
[DEBUG] Execute:Java13CommandLauncher: Executing 'bcc32' with
arguments:
''
'-c'
'-X'
'-x'
'-tWM'
'-Od'
'-DWindows'
'-DWIN32'
'-I"H:\workspace\ImagenomicPortraturePluginDLL\target\nar\javah-
include"'
'-I"C:\Program Files\Java\jdk1.6.0_16\include"'
'-I"C:\Program Files\Java\jdk1.6.0_16\include\win32"'
'-IH:\workspace\ImagenomicPortraturePluginDLL\src\main\include'
'-IH:\workspace\ImagenomicPortraturePluginDLL\target\swig\include'
'-w'
'H:\workspace\ImagenomicPortraturePluginDLL\src\main\c++
\com_lifetouch_Imagenomi
cPortraitureBufferedImageOp.cpp'

The ' characters around the executable and arguments are
not part of the command.
[DEBUG] Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
[DEBUG] Error E2194: Could not find file 'Files\Java
\jdk1.6.0_16\include.cpp'
[DEBUG] Error E2194: Could not find file 'Files\Java
\jdk1.6.0_16\include\win32.c
pp'

Cleaning up the command line to remove the ' character and issuing
it at the command line does not have this problem.

Damon

-----Original Message-----
From: Donszelmann Mark [mailto:[email protected]]
Sent: Wednesday, October 28, 2009 8:03 AM
To: Maven Users List
Subject: Re: NAR plugin

Hi

if you run the NAR plugin with -X it will show that, and a lot of
other info, so be prepared.

You may just want to use the free Visual Studio Express (version
2008)
to compile and link with.

Regards
Mark Donszelmann


On Oct 28, 2009, at 3:59 PM, Damon Jacobsen wrote:

Martin,

  I considered using cygwin, but I read that code compiled with it
needs cygwin installed on the target machine to run. I was hoping
just to just use the free borland compiler for a quick solution. I
am thinking if there was a way to see the command given to compile, I could fix it. Is there any way to have that information logged or
pumped to stdout?

Damon

-----Original Message-----
From: Martin Gainty [mailto:[email protected]]
Sent: Tuesday, October 27, 2009 5:48 PM
To: [email protected]
Subject: RE: NAR plugin


Damon-

some company in texas purchased the borland compiler and i dont
know
what happened afterwards
i had the same problem with Borland Compiler and punted to
cygwin...download the full devel package.. gcc is the compiler..ld
is the linker..ar is the library manager
http://www.cygwin.com

Martin Gainty
______________________________________________
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 Mitteilung. Jede
unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und
entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten
Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den
Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes
pas le destinataire prévu, nous te demandons avec bonté que pour
satisfaire informez l'expéditeur. N'importe quelle diffusion non
autorisée ou la copie de ceci est interdite. Ce message sert à
l'information seulement et n'aura pas n'importe quel effet
légalement obligatoire. Étant donné que les email peuvent
facilement
être sujets à la manipulation, nous ne pouvons accepter aucune
responsabilité pour le contenu fourni.




Subject: NAR plugin
Date: Tue, 27 Oct 2009 19:31:16 -0500
From: [email protected]
To: [email protected]

I am building the newly absorbed NAR project from source and using
it. I
cannot seem to get it to use the borland compiler correctly. The
cpptasks project seems to have support for bcc. I have even
updated
the
aol.properties file to reflect the necessary setting to no avail.
Has
anyone attempting getting the borland c compiler to run
correctly? I
have gotten to where the compiler runs, but it returns messages
about
declaration syntax errors. I do not get these errors with a
standard
compile however.



Damon Jacobsen




______________________________________________________________________
This email has been scanned by the MessageLabs Email Security
System.
For more information please visit http://www.messagelabs.com/ email
_____________________________________________________________________

_________________________________________________________________
Windows 7: I wanted more reliable, now it's more reliable. Wow!

http://microsoft.com/windows/windows-7/default-ga.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:102009

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security
System.
For more information please visit http://www.messagelabs.com/email
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security
System.
For more information please visit http://www.messagelabs.com/email
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to