delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/13/05:36:26

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=VIE
Mj3nVC7opbajrJkntka+dRxptU69uJU19j8OWXKbLHZxmq+qCINFKN8Ib94k2H3G
AdbxO9amOYvQWogP6zWiZwlyDOSsGleyTIfO6GMfekZbPcI8sProepB8+N47M40g
R7UMGjFCoFVyRLiYQBqNCDhAtfx5HGUyjMKe9d6U=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=qgsGPdfLz
aJApl95FQfh/KqZkfo=; b=gPdIhvyQsj+VPIIW63MoPLxo9tYkn6am9aurs47nS
LN10CcGysCiV7fXKA6Nxqw8Ilvcv4/YXcQJBtAbvEudoo72kfjzVbteSpgeU5/RF
Xi4flB9R7AYB3SCsZFMSUzzUHDUI4fOkjp79aI18iF0sLBUILlBd8y+ZBBx0ZfIk
FA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*RU:209.85.220.194, Hx-spam-relays-external:209.85.220.194, ats, apache
X-HELO: mail-qk0-f194.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=VsAhubIw3vMWHVcJBf9owSAAsuAAEQrBhLFzmIfXXw8=; b=kcvS6hTECrERPXH6RIoDqrHZdeuDZfCb9jgYG7HdFSeatakld7sTNCQUTKGWZYd+LH BGg8Aunw419kkHJM1tMaoxa8K2iQSbd6PZpL/cJB4Q4TGzDx5ZGTO2a7oyIB9SU3vnvI avUfjYmhcZmubLnZ+RqIw90dMWv1OkEjyACAy8WzigM+H5Zq3aIb1wcp994mG7h58Zbn joo1uethnM9O7kzJam27XnUiZ20nupSpfrR2YjRJEjptNDpIYqfTSC8+sJrCs+9bAMTz xW+/wbSqV9m/pBVbarrPPgSIxrmv0Zaqx0rv/VahGK0Mu7QajGbYRDF2uMShiSItyn29 OoVA==
X-Gm-Message-State: AIkVDXLmIw9z8Gnr4c9bZ9iW93et7Hzf1FKROTtTPGxESxpDrKqKPBh703RrVi6phSUw1A==
X-Received: by 10.55.72.86 with SMTP id v83mr17235394qka.262.1484303770140; Fri, 13 Jan 2017 02:36:10 -0800 (PST)
From: Chris Brokes <brokesc AT gmail DOT com>
Subject: Windows Path issue with maven/java on cygwin ("/C:/cygwin64/git...")
To: cygwin AT cygwin DOT com
Message-ID: <29451285-fb2f-cc16-362a-0276082e8b4d@gmail.com>
Date: Fri, 13 Jan 2017 05:36:08 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
X-IsSubscribed: yes

First time sending an email to the list.  Thanks for all the patience of 
everyone involved.

Due to a work requirement, I'm trying to get the following working:
git - repository successfully downloaded.  Original code was written for 
linux and is java based
java - Windows java JDK 8u112 apparently successfully installed and 
apparently recognized by maven, etc
apache-maven - downloaded and apparently installed successfully. All 
articles I've found with setup instructions stop after having verified 
that maven is 'working'. Apparently I've succeeded with this.

As you can see from the below text, maven is apparently working and 
finds my java successfully
$ mvn --version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
2015-11-10T11:41:47-05:00)
Maven home: C:\cygwin64\usr\local\apache-maven-3.3.9
Java version: 1.8.0_112, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_112\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"

Now this is where it gets weird.  When I try the following:
$ mvn compile
in the appropriate git directory everything seems to be working fine 
until I start seeing this:

.
.
.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
dataflow-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
C:\cygwin64\git\dfimpl\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ 
dataflow-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 202 source files to C:\cygwin64\git\dfimpl\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] 
/C:/cygwin64/git/dfimpl/src/main/java/com/gamma/ats/dataflow/utils/GGSNRecordIngestion.java:[5,44] 
package com.google.cloud.dataflow.sdk.coders does not exist
[ERROR] 
/C:/cygwin64/git/dfimpl/src/main/java/com/gamma/ats/dataflow/utils/GGSNRecordIngestion.java:[6,44] 
package com.google.cloud.dataflow.sdk.coders does not exist
[ERROR] 
/C:/cygwin64/git/dfimpl/src/main/java/com/gamma/ats/dataflow/utils/GGSNRecordIngestion.java:[7,44] 
package com.google.cloud.dataflow.sdk.coders does not exist
.
.
.

I can confirm that the files listed exist.
If you type the path as any of the following:
/cygdrive/c/cygwin64/git/  <continue path as appropriate>
C:/cygwin64/git/   <continue path as appropriate>
/git/   <continue path as appropriate>

The issue apparently is the leading "/"

So...my question goes like this:
a) is there something in my configuration which is causing this? (i.e. 
should I have the linux version of java installed under cygwin or am I 
missing a setting someplace?)
b) is there a fix/hack I can apply to cause the leading / to be a non 
issue? (i.e. a ln configured a specific way or an alias?  I've attempted 
both but neither seem to have fixed the issue...possibly because I 
didn't setup the correction properly?)
c) has anyone seen anything like this?  due to the special characters 
involved, searching was relatively useless (just about every search 
found me C/C++/gcc related results...)

Thanks for taking the time to read this.  Any help is appreciated.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019